diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 10:44:22 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 10:50:56 +0100 |
commit | 7d09e5ed618b9b9d6e00b57b24db0b9c8a8c12d7 (patch) | |
tree | f76a250431629a36d225d456ed41f393aaa9a579 /xtask/src | |
parent | 081f35fe1b311223866fa5fc7edde2e8048cd901 (diff) |
Finish Module grammar
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index d0518cead..470ac8c8f 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -24,7 +24,7 @@ Module = | |||
24 | (ItemList | ';') | 24 | (ItemList | ';') |
25 | 25 | ||
26 | ItemList = | 26 | ItemList = |
27 | '{' Item* '}' | 27 | '{' Attr* Item* '}' |
28 | 28 | ||
29 | FnDef = | 29 | FnDef = |
30 | Attr* Visibility? Abi? 'const' 'default' 'async' 'unsafe' 'fn' Name TypeParamList? | 30 | Attr* Visibility? Abi? 'const' 'default' 'async' 'unsafe' 'fn' Name TypeParamList? |