#76: added command chs

This commit is contained in:
Louis Rubet 2017-05-25 23:24:35 +02:00
parent 341b0d94c1
commit e34a3de33d

View file

@ -28,7 +28,8 @@ program::keyword_t program::s_keywords[] =
{ cmd_undef, "", NULL, "\nREAL"}, { cmd_undef, "", NULL, "\nREAL"},
{ cmd_keyword, "+", &program::plus, "addition" }, { cmd_keyword, "+", &program::plus, "addition" },
{ cmd_keyword, "-", &program::minus, "substraction" }, { 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::mul, "multiplication" },
{ cmd_keyword, "/", &program::div, "division" }, { cmd_keyword, "/", &program::div, "division" },
{ cmd_keyword, "inv", &program::inv, "inverse" }, { cmd_keyword, "inv", &program::inv, "inverse" },