aboutsummaryrefslogtreecommitdiff
path: root/src/grammar/expressions
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-07 12:56:33 +0100
committerAleksey Kladov <[email protected]>2018-08-07 12:57:19 +0100
commit9ef9ec9ec35372c372711878b7aaff94a1b39816 (patch)
treecef883cd7c7db1bb2f36aa398e7c3fe3395392b8 /src/grammar/expressions
parent1a25cb0b1e0f81e7b76c0b41b94d18eca3bd3bfb (diff)
Simplify tests
Diffstat (limited to 'src/grammar/expressions')
-rw-r--r--src/grammar/expressions/mod.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/grammar/expressions/mod.rs b/src/grammar/expressions/mod.rs
index 853a9411c..a94964c39 100644
--- a/src/grammar/expressions/mod.rs
+++ b/src/grammar/expressions/mod.rs
@@ -126,16 +126,10 @@ fn lhs(p: &mut Parser, r: Restrictions) -> Option<CompletedMarker> {
126 p.eat(MUT_KW); 126 p.eat(MUT_KW);
127 REF_EXPR 127 REF_EXPR
128 } 128 }
129 // test deref_expr 129 // test unary_expr
130 // fn foo() { 130 // fn foo() {
131 // **&1; 131 // **&1;
132 // }
133 // test not_expr
134 // fn foo() {
135 // !!true; 132 // !!true;
136 // }
137 // test neg_expr
138 // fn foo() {
139 // --1; 133 // --1;
140 // } 134 // }
141 STAR | EXCL | MINUS => { 135 STAR | EXCL | MINUS => {