diff options
author | Marijn Suijten <[email protected]> | 2020-11-17 19:02:46 +0000 |
---|---|---|
committer | Marijn Suijten <[email protected]> | 2021-01-03 11:05:52 +0000 |
commit | 42da26e9597443812da5a59b3fa48bdcbf619666 (patch) | |
tree | 8332cb8b91cd04fe0c15eec11f659b6095408112 /crates/syntax/test_data/parser/fragments/stmt/ok/0000_macro_let_stmt.rast | |
parent | cc081b7e1c68360ec157a31fa7fa32a38345e8d6 (diff) |
parser,syntax: Add separate parser for stmt with optional semicolon
Adjusting `grammar::fragments::stmt` to Optional or Yes will break
original functionality and tests.
Diffstat (limited to 'crates/syntax/test_data/parser/fragments/stmt/ok/0000_macro_let_stmt.rast')
-rw-r--r-- | crates/syntax/test_data/parser/fragments/stmt/ok/0000_macro_let_stmt.rast | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/fragments/stmt/ok/0000_macro_let_stmt.rast b/crates/syntax/test_data/parser/fragments/stmt/ok/0000_macro_let_stmt.rast new file mode 100644 index 000000000..81d6df29a --- /dev/null +++ b/crates/syntax/test_data/parser/fragments/stmt/ok/0000_macro_let_stmt.rast | |||
@@ -0,0 +1,21 @@ | |||
1 | [email protected] | ||
2 | [email protected] | ||
3 | [email protected] | ||
4 | [email protected] | ||
5 | [email protected] | ||
6 | [email protected] "m1" | ||
7 | [email protected] "!" | ||
8 | [email protected] | ||
9 | [email protected] "{" | ||
10 | [email protected] " " | ||
11 | [email protected] "let" | ||
12 | [email protected] " " | ||
13 | [email protected] "a" | ||
14 | [email protected] " " | ||
15 | [email protected] "=" | ||
16 | [email protected] " " | ||
17 | [email protected] "0" | ||
18 | [email protected] ";" | ||
19 | [email protected] " " | ||
20 | [email protected] "}" | ||
21 | [email protected] ";" | ||