CmdCalc
- Converted from A3 to A3t.
This commit is contained in:
@@ -75,7 +75,7 @@ int CmdCalc::execute (std::string& output)
|
|||||||
|
|
||||||
// Compile all the args into one expression.
|
// Compile all the args into one expression.
|
||||||
std::string expression;
|
std::string expression;
|
||||||
std::vector <std::string> words = context.a3.extract_words ();
|
std::vector <std::string> words = context.a3t.getWords ();
|
||||||
std::vector <std::string>::iterator word;
|
std::vector <std::string>::iterator word;
|
||||||
for (word = words.begin (); word != words.end (); ++word)
|
for (word = words.begin (); word != words.end (); ++word)
|
||||||
expression += *word + " ";
|
expression += *word + " ";
|
||||||
|
|||||||
Reference in New Issue
Block a user