Use LPAR instead of a character in a condition of Parser.hpp
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
272323d091
commit
bee9917947
|
@ -83,7 +83,7 @@ namespace Parser {
|
||||||
})
|
})
|
||||||
));
|
));
|
||||||
i += increment;
|
i += increment;
|
||||||
} else if (next.toktype == '(') {
|
} else if (next.toktype == LPAR) {
|
||||||
parseTree << Call(current.toktext);
|
parseTree << Call(current.toktext);
|
||||||
} else
|
} else
|
||||||
parseTree << Reference(current.toktext);
|
parseTree << Reference(current.toktext);
|
||||||
|
|
Loading…
Reference in New Issue