aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MoonP/moon_parser.cpp')
-rw-r--r--src/MoonP/moon_parser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MoonP/moon_parser.cpp b/src/MoonP/moon_parser.cpp
index 1502f3c..fecf869 100644
--- a/src/MoonP/moon_parser.cpp
+++ b/src/MoonP/moon_parser.cpp
@@ -434,7 +434,8 @@ MoonParser::MoonParser() {
434 NameOrDestructure = Space >> Variable | TableLit; 434 NameOrDestructure = Space >> Variable | TableLit;
435 AssignableNameList = Seperator >> NameOrDestructure >> *(sym(',') >> White >> NameOrDestructure); 435 AssignableNameList = Seperator >> NameOrDestructure >> *(sym(',') >> White >> NameOrDestructure);
436 436
437 Backcall = -FnArgsDef >> Space >> symx("<-") >> Space >> ChainValue; 437 fn_arrow_back = expr('<') >> set("-=");
438 Backcall = -FnArgsDef >> Space >> fn_arrow_back >> Space >> ChainValue;
438 439
439 ExpList = Seperator >> Exp >> *(sym(',') >> White >> Exp); 440 ExpList = Seperator >> Exp >> *(sym(',') >> White >> Exp);
440 ExpListLow = Seperator >> Exp >> *((sym(',') | sym(';')) >> White >> Exp); 441 ExpListLow = Seperator >> Exp >> *((sym(',') | sym(';')) >> White >> Exp);