1
Fork 0

Add literal semicolon to the grammar of view_item

Both external crate declarations and use declarations need to end with a
semicolon.
This commit is contained in:
Carol Nichols 2015-05-10 20:48:02 -04:00
parent c3156a8ff4
commit 53cd0bc772

View file

@ -322,7 +322,7 @@ mod : [ view_item | item ] * ;
#### View items
```antlr
view_item : extern_crate_decl | use_decl ;
view_item : extern_crate_decl | use_decl ';' ;
```
##### Extern crate declarations