| # | Line 147 | Line 147 | class SelectionCompiler{ | |
|---|---|---|
| 147 | bool addTokenToPostfix(const Token& token); | |
| 148 | bool isNameValid(const std::string& name); | |
| 149 | ||
| 150 | < | bool compileError(const std::string& errorMessage) { |
| 151 | < | std::cerr << "SelectionCompiler Error: " << errorMessage << std::endl; |
| 150 | > | bool compileError(const std::string& errorMsg) { |
| 151 | > | std::cerr << "SelectionCompiler Error: " << errorMsg << std::endl; |
| 152 | error = true; | |
| 153 | < | this->errorMessage = errorMessage; |
| 153 | > | this->errorMessage = errorMsg; |
| 154 | return false; | |
| 155 | } | |
| 156 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |