Skip to content

Commit

Permalink
fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso committed Jan 8, 2025
1 parent 9f4ab92 commit 047e153
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion doc/md/examples/grammar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,5 @@
<prog> ::=
<list(<imp>, ';')> <list(<dec>, ';')>

<list(<typ_dec>, ';')> 'actor' '(' '{' <list(<stab_field>, ';')> '}' ',' '{' <list(<stab_field>, ';')> '}' ')'


2 changes: 1 addition & 1 deletion src/gen-grammar/grammar.sed
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ s/<id>/ID/g
/^<parse_module_header> ::=/,+2d
/^<stab_field> ::=/,+2d
/^<typ_dec> ::=/,+2d
/^<parse_stab_sig> ::=/,+2d
/^<parse_stab_sig> ::=/,+5d
/.*PRIM.*/d
/^<bl> ::=/,+2d
/^<ob> ::=/,+2d
Expand Down

0 comments on commit 047e153

Please sign in to comment.