summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-06-27 10:51:19 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2013-06-27 10:51:19 -0400
commit11fdd5a4ec25984c5c484cf1dd29fdec004028b3 (patch)
tree1c6c46e659e7b655cd98cc6ad309f6d18c88c0ca /Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
parent72257d5f699d7d234c035547c02c5d9781bb2e11 (diff)
ExpressionParser: Search for control names first
Otherwise, valid control names like "Cursor X+" would be incorrectly tokenized as "`Cursor` `X` +", causing the parser to first abort trying to find a control named `Cursor` rather than aborting with invalid syntax on the bad binop. We could also do this by resolving devices lazily, but since simple control name bindings are going to be 90% of usecases, just look for these first.
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions