From e34a3de33d1f0cd56f9c8d350a61a89b540f28e7 Mon Sep 17 00:00:00 2001 From: Louis Rubet Date: Thu, 25 May 2017 23:24:35 +0200 Subject: [PATCH] #76: added command chs --- src/program.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/program.cpp b/src/program.cpp index cdad770..e1753bf 100644 --- a/src/program.cpp +++ b/src/program.cpp @@ -28,7 +28,8 @@ program::keyword_t program::s_keywords[] = { cmd_undef, "", NULL, "\nREAL"}, { cmd_keyword, "+", &program::plus, "addition" }, { cmd_keyword, "-", &program::minus, "substraction" }, - { cmd_keyword, "neg", &program::neg , "negation" }, + { cmd_keyword, "chs", &program::neg , "(or neg) negation" }, + { cmd_keyword, "neg", &program::neg , "" }, { cmd_keyword, "*", &program::mul, "multiplication" }, { cmd_keyword, "/", &program::div, "division" }, { cmd_keyword, "inv", &program::inv, "inverse" },