Version
3.5-1545
Förgrening
master
Datum
7 år, 3 månader sedan
Windows x64 Windows x86 Android Mac OS X
Revisionsinformation
11fdd5a4ec25984c5c484cf1dd29fdec004028b3
Ändringens upphovsman
Jasper St. Pierre
Ändringens beskrivning
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.