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.
This commit is contained in:
Jasper St. Pierre 2013-07-12 13:26:09 -04:00
parent c52a583090
commit b64e882ba5
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ public:
bool FetchBacktickString(std::string &value, char otherDelim = 0)
{
value = "";
while (it != expr.end())
{
char c = *it;