Skip to content

Commit

Permalink
Update hugo/content/docs/recipes/scoping/file-based.md
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Sujew <[email protected]>
  • Loading branch information
Lotes and msujew authored Aug 6, 2024
1 parent 0c95517 commit f68853c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hugo/content/docs/recipes/scoping/file-based.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ entry Model:
| greetings+=Greeting
)*;
FileImport:
'import' '{' personImports+=PersonImport (',' personImports+=PersonImport)* '}' 'from' file=STRING
; //NEW: imports of the same file are gathered in a list
FileImport: //NEW: imports of the same file are gathered in a list
'import' '{'
personImports+=PersonImport (',' personImports+=PersonImport)*
'}' 'from' file=STRING;
PersonImport:
person=[Person:ID] ('as' name=ID)?
Expand Down

0 comments on commit f68853c

Please sign in to comment.