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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MoonP/moon_parser.cpp b/src/MoonP/moon_parser.cpp
index 63eabb3..8b9ead4 100644
--- a/src/MoonP/moon_parser.cpp
+++ b/src/MoonP/moon_parser.cpp
@@ -489,7 +489,7 @@ MoonParser::MoonParser() {
489 KeyValue = variable_pair | normal_pair; 489 KeyValue = variable_pair | normal_pair;
490 490
491 KeyValueList = KeyValue >> *(sym(',') >> KeyValue); 491 KeyValueList = KeyValue >> *(sym(',') >> KeyValue);
492 KeyValueLine = CheckIndent >> (KeyValueList >> -sym(',') | TableBlockIndent | Space >> expr('*') >> Exp); 492 KeyValueLine = CheckIndent >> (KeyValueList >> -sym(',') | TableBlockIndent | Space >> expr('*') >> (Exp | TableBlock));
493 493
494 FnArgDef = (Variable | SelfName) >> -(sym('=') >> Space >> Exp); 494 FnArgDef = (Variable | SelfName) >> -(sym('=') >> Space >> Exp);
495 495