File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
trunk/src/comp/syntax/parse Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: d39f84d8ecc8fc16cb5ae007891b3f7d86c08350
2
+ refs/heads/master: 0c913e63d926fc8cf1dd06260546b16f5aa90402
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ pred can_begin_expr(token t) -> bool {
172
172
alt ( t) {
173
173
case ( LPAREN ) { true }
174
174
case ( LBRACE ) { true }
175
+ case ( LBRACKET ) { true }
175
176
case ( IDENT ( _, _) ) { true }
176
177
case ( UNDERSCORE ) { true }
177
178
case ( TILDE ) { true }
@@ -184,6 +185,9 @@ pred can_begin_expr(token t) -> bool {
184
185
case ( LIT_CHAR ( _) ) { true }
185
186
case ( POUND ) { true }
186
187
case ( AT ) { true }
188
+ case ( NOT ) { true }
189
+ case ( BINOP ( MINUS ) ) { true }
190
+ case ( BINOP ( STAR ) ) { true }
187
191
case ( _) { false }
188
192
}
189
193
}
You can’t perform that action at this time.
0 commit comments