diff options
Diffstat (limited to 'doc/grammar.txt')
-rw-r--r-- | doc/grammar.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/grammar.txt b/doc/grammar.txt index 0e2f002..4aff55a 100644 --- a/doc/grammar.txt +++ b/doc/grammar.txt @@ -1,9 +1,7 @@ root := import* toplevel* toplevel := externfunc | function | constant | typedef -import := "import" path [ NAME ] ";" - -path := NAME ( "::" NAME )* +path := NAME function := [ COMMENT ] [ "export" ] "func" NAME "(" ( param ), ")" [ type ] block |