File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -326,11 +326,11 @@ statements1
326
326
327
327
single_line_statements
328
328
: single_line_multi_statements TK_NEWLINE { $$ = $1; }
329
- | single_line_multi_statements TK_COMMENT TK_NEWLINE { $$ = $1; }
329
+ | single_line_multi_statements TK_EOLCOMMENT { $$ = $1; }
330
330
| single_line_statement TK_NEWLINE { $$ = A2LIST(p.m_a, $1); }
331
331
| single_line_statement TK_SEMICOLON TK_NEWLINE { $$ = A2LIST(p.m_a, $1); }
332
- | single_line_statement TK_SEMICOLON TK_COMMENT TK_NEWLINE { $$ = A2LIST(p.m_a, $1); }
333
- | single_line_statement TK_COMMENT TK_NEWLINE { $$ = A2LIST(p.m_a, $1); }
332
+ | single_line_statement TK_SEMICOLON TK_EOLCOMMENT { $$ = A2LIST(p.m_a, $1); }
333
+ | single_line_statement TK_EOLCOMMENT { $$ = A2LIST(p.m_a, $1); }
334
334
;
335
335
336
336
single_line_multi_statements
You can’t perform that action at this time.
0 commit comments