From bee9917947c3827e79f4c09a35beabb638699b3d Mon Sep 17 00:00:00 2001 From: Username404 Date: Thu, 17 Mar 2022 15:49:01 +0100 Subject: [PATCH] Use LPAR instead of a character in a condition of Parser.hpp Signed-off-by: Username404 --- src/headers/parsing/Parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/parsing/Parser.hpp b/src/headers/parsing/Parser.hpp index 7335bab..bb7c02d 100644 --- a/src/headers/parsing/Parser.hpp +++ b/src/headers/parsing/Parser.hpp @@ -83,7 +83,7 @@ namespace Parser { }) )); i += increment; - } else if (next.toktype == '(') { + } else if (next.toktype == LPAR) { parseTree << Call(current.toktext); } else parseTree << Reference(current.toktext);