Lexer
- Improved comment.
This commit is contained in:
@@ -706,6 +706,7 @@ bool Lexer::isPair (std::string& token, Lexer::Type& type)
|
|||||||
Lexer::Type ignoredType;
|
Lexer::Type ignoredType;
|
||||||
if (isIdentifier (ignoredToken, ignoredType))
|
if (isIdentifier (ignoredToken, ignoredType))
|
||||||
{
|
{
|
||||||
|
// Look for rc.name[:=]value first, because '=' is allowed.
|
||||||
if (ignoredToken == "rc" ||
|
if (ignoredToken == "rc" ||
|
||||||
ignoredToken.substr (0, 3) == "rc.")
|
ignoredToken.substr (0, 3) == "rc.")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user