Changeset 7284 for code/trunk/src/libraries/core/input/Button.cc
- Timestamp:
- Aug 31, 2010, 3:37:40 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/input/Button.cc
r6536 r7284 39 39 #include "util/StringUtils.h" 40 40 #include "util/Debug.h" 41 #include "core/ ConsoleCommand.h"42 #include "core/ CommandEvaluation.h"43 #include "core/ CommandExecutor.h"41 #include "core/command/ConsoleCommand.h" 42 #include "core/command/CommandEvaluation.h" 43 #include "core/command/CommandExecutor.h" 44 44 #include "core/ConfigFileManager.h" 45 45 … … 117 117 // separate the commands 118 118 SubString commandStrings(bindingString_, "|", SubString::WhiteSpaces, false, 119 '\\', false, '"', false, ' (', ')', false, '\0');119 '\\', false, '"', false, '{', '}', false, '\0'); 120 120 121 121 for (unsigned int iCommand = 0; iCommand < commandStrings.size(); iCommand++) … … 124 124 { 125 125 SubString tokens(commandStrings[iCommand], " ", SubString::WhiteSpaces, false, 126 '\\', false, '"', false, ' (', ')', false, '\0');126 '\\', false, '"', false, '{', '}', false, '\0'); 127 127 128 128 KeybindMode::Value mode = KeybindMode::None; … … 175 175 176 176 // evaluate the command 177 const CommandEvaluation&eval = CommandExecutor::evaluate(commandStr);178 if (!eval.isValid() )177 CommandEvaluation eval = CommandExecutor::evaluate(commandStr); 178 if (!eval.isValid() || eval.evaluateParams(true)) 179 179 { 180 180 parseError("Command evaluation of \"" + commandStr + "\"failed.", true);
Note: See TracChangeset
for help on using the changeset viewer.