Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ExpressionParser: Parse fully qualified control names correctly
Without clearing out the "accumulator" for the backtick parsing,
our control name was full of junk (the previous device name) causing
us to not correctly find the control.

Ensure that always we clear the "accumulator" string during backtick
parsing.
  • Loading branch information
magcius committed Jul 12, 2013
1 parent c52a583 commit b64e882
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -95,6 +95,7 @@ class Lexer {

bool FetchBacktickString(std::string &value, char otherDelim = 0)
{
value = "";
while (it != expr.end())
{
char c = *it;
Expand Down

0 comments on commit b64e882

Please sign in to comment.