aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yuescript/yue_parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp
index cd1fd48..078509c 100644
--- a/src/yuescript/yue_parser.cpp
+++ b/src/yuescript/yue_parser.cpp
@@ -740,7 +740,7 @@ YueParser::YueParser() {
740 740
741 table_block_inner = Seperator >> key_value_line >> *(+space_break >> key_value_line); 741 table_block_inner = Seperator >> key_value_line >> *(+space_break >> key_value_line);
742 TableBlock = +space_break >> advance_match >> ensure(table_block_inner, pop_indent); 742 TableBlock = +space_break >> advance_match >> ensure(table_block_inner, pop_indent);
743 TableBlockIndent = '*' >> Seperator >> disable_arg_table_block_rule( 743 TableBlockIndent = ('*' | '-' >> space_one) >> Seperator >> disable_arg_table_block_rule(
744 space >> key_value_list >> -(space >> ',') >> 744 space >> key_value_list >> -(space >> ',') >>
745 -(+space_break >> advance_match >> space >> ensure(key_value_list >> -(space >> ',') >> *(+space_break >> key_value_line), pop_indent))); 745 -(+space_break >> advance_match >> space >> ensure(key_value_list >> -(space >> ',') >> *(+space_break >> key_value_line), pop_indent)));
746 746
@@ -843,7 +843,7 @@ YueParser::YueParser() {
843 key_value_line = check_indent_match >> space >> ( 843 key_value_line = check_indent_match >> space >> (
844 key_value_list >> -(space >> ',') | 844 key_value_list >> -(space >> ',') |
845 TableBlockIndent | 845 TableBlockIndent |
846 '*' >> space >> (SpreadExp | Exp | TableBlock) 846 ('*' | '-' >> space_one) >> space >> (SpreadExp | Exp | TableBlock)
847 ); 847 );
848 848
849 fn_arg_def_list = FnArgDef >> *(space >> ',' >> space >> FnArgDef); 849 fn_arg_def_list = FnArgDef >> *(space >> ',' >> space >> FnArgDef);