From a68977fa9280819799860b909c9b11f245bc87a5 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 1 Nov 2020 13:25:38 +0100 Subject: [PATCH] Fixes FuncAttr writing to class token, instead of processing token. --- src/Parser/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index 84fa1e4..06a562c 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -324,7 +324,7 @@ namespace MalachScript::Parser { default: lookingForFuncAttr = false; break; } } - _currentToken = current; + currentToken = current; return true; }