diff options
author | Aleksey Kladov <[email protected]> | 2018-08-07 12:52:03 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-07 12:52:03 +0100 |
commit | 1a25cb0b1e0f81e7b76c0b41b94d18eca3bd3bfb (patch) | |
tree | 3683c0849bccbe1aaf0d0b4373beebf5b62999f2 /tests/data/parser | |
parent | ba21da52741bf207db5081811e00eacf45796429 (diff) |
simplify unary expr grammar
Diffstat (limited to 'tests/data/parser')
-rw-r--r-- | tests/data/parser/inline/0062_deref_expr.txt | 4 | ||||
-rw-r--r-- | tests/data/parser/inline/0066_not_expr.txt | 4 | ||||
-rw-r--r-- | tests/data/parser/inline/0085_neg_expr.txt | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/data/parser/inline/0062_deref_expr.txt b/tests/data/parser/inline/0062_deref_expr.txt index e67d2d96d..71be78bc2 100644 --- a/tests/data/parser/inline/0062_deref_expr.txt +++ b/tests/data/parser/inline/0062_deref_expr.txt | |||
@@ -12,9 +12,9 @@ FILE@[0; 23) | |||
12 | L_CURLY@[9; 10) | 12 | L_CURLY@[9; 10) |
13 | WHITESPACE@[10; 15) | 13 | WHITESPACE@[10; 15) |
14 | EXPR_STMT@[15; 20) | 14 | EXPR_STMT@[15; 20) |
15 | DEREF_EXPR@[15; 19) | 15 | PREFIX_EXPR@[15; 19) |
16 | STAR@[15; 16) | 16 | STAR@[15; 16) |
17 | DEREF_EXPR@[16; 19) | 17 | PREFIX_EXPR@[16; 19) |
18 | STAR@[16; 17) | 18 | STAR@[16; 17) |
19 | REF_EXPR@[17; 19) | 19 | REF_EXPR@[17; 19) |
20 | AMP@[17; 18) | 20 | AMP@[17; 18) |
diff --git a/tests/data/parser/inline/0066_not_expr.txt b/tests/data/parser/inline/0066_not_expr.txt index 10ac23757..005a5bcf2 100644 --- a/tests/data/parser/inline/0066_not_expr.txt +++ b/tests/data/parser/inline/0066_not_expr.txt | |||
@@ -12,9 +12,9 @@ FILE@[0; 25) | |||
12 | L_CURLY@[9; 10) | 12 | L_CURLY@[9; 10) |
13 | WHITESPACE@[10; 15) | 13 | WHITESPACE@[10; 15) |
14 | EXPR_STMT@[15; 22) | 14 | EXPR_STMT@[15; 22) |
15 | NOT_EXPR@[15; 21) | 15 | PREFIX_EXPR@[15; 21) |
16 | EXCL@[15; 16) | 16 | EXCL@[15; 16) |
17 | NOT_EXPR@[16; 21) | 17 | PREFIX_EXPR@[16; 21) |
18 | EXCL@[16; 17) | 18 | EXCL@[16; 17) |
19 | LITERAL@[17; 21) | 19 | LITERAL@[17; 21) |
20 | TRUE_KW@[17; 21) | 20 | TRUE_KW@[17; 21) |
diff --git a/tests/data/parser/inline/0085_neg_expr.txt b/tests/data/parser/inline/0085_neg_expr.txt index 8eeb0b1e6..65855555c 100644 --- a/tests/data/parser/inline/0085_neg_expr.txt +++ b/tests/data/parser/inline/0085_neg_expr.txt | |||
@@ -12,9 +12,9 @@ FILE@[0; 22) | |||
12 | L_CURLY@[9; 10) | 12 | L_CURLY@[9; 10) |
13 | WHITESPACE@[10; 15) | 13 | WHITESPACE@[10; 15) |
14 | EXPR_STMT@[15; 19) | 14 | EXPR_STMT@[15; 19) |
15 | NEG_EXPR@[15; 18) | 15 | PREFIX_EXPR@[15; 18) |
16 | MINUS@[15; 16) | 16 | MINUS@[15; 16) |
17 | NEG_EXPR@[16; 18) | 17 | PREFIX_EXPR@[16; 18) |
18 | MINUS@[16; 17) | 18 | MINUS@[16; 17) |
19 | LITERAL@[17; 18) | 19 | LITERAL@[17; 18) |
20 | INT_NUMBER@[17; 18) "1" | 20 | INT_NUMBER@[17; 18) "1" |