Merge pull request #3014 from lioncash/cpath

ExpressionParser: Make all control paths return a value in operator std::string
This commit is contained in:
Scott Mansell 2015-09-10 14:48:30 +12:00
commit f2771695a2
1 changed files with 4 additions and 2 deletions

View File

@ -63,8 +63,6 @@ public:
{
switch (type)
{
case TOK_INVALID:
return "Invalid";
case TOK_DISCARD:
return "Discard";
case TOK_EOF:
@ -83,7 +81,11 @@ public:
return "+";
case TOK_CONTROL:
return "Device(" + (std::string)qualifier + ")";
case TOK_INVALID:
break;
}
return "Invalid";
}
};