aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-28 09:12:42 +0100
committerAleksey Kladov <[email protected]>2018-08-28 09:12:42 +0100
commit2fa90e736b026ee979d9eb59178dc1f792228250 (patch)
treeadba3a569241a2030bf66e4e0b24ac5ffeaccbc3 /crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt
parent13110f48e948d7554500aefc336e72f96041386b (diff)
better recovery for exprs
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt')
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt b/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt
index db9a2f175..f0be287ad 100644
--- a/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt
@@ -35,13 +35,12 @@ ROOT@[0; 47)
35 INT_NUMBER@[33; 35) "92" 35 INT_NUMBER@[33; 35) "92"
36 SEMI@[35; 36) 36 SEMI@[35; 36)
37 WHITESPACE@[36; 41) 37 WHITESPACE@[36; 41)
38 BIN_EXPR@[41; 45) 38 BIN_EXPR@[41; 44)
39 LITERAL@[41; 42) 39 LITERAL@[41; 42)
40 INT_NUMBER@[41; 42) "1" 40 INT_NUMBER@[41; 42) "1"
41 WHITESPACE@[42; 43) 41 WHITESPACE@[42; 43)
42 PLUS@[43; 44) 42 PLUS@[43; 44)
43 WHITESPACE@[44; 45)
44 err: `expected expression` 43 err: `expected expression`
45 ERROR@[45; 45) 44 WHITESPACE@[44; 45)
46 R_CURLY@[45; 46) 45 R_CURLY@[45; 46)
47 WHITESPACE@[46; 47) 46 WHITESPACE@[46; 47)