newline at eof fix

This commit is contained in:
bronku 2025-11-27 17:15:29 +01:00
parent 922213d9c6
commit f0f71075f1
2 changed files with 38 additions and 26 deletions

View file

@ -69,7 +69,7 @@ stmt_list:
;
stmt:
expr { $$ = std::make_unique<ExprStmt>(std::move($1)); }
expr NEWLINE { $$ = std::make_unique<ExprStmt>(std::move($1)); }
;
expr: