Add some missing semicolons
This commit is contained in:
parent
df0689c7ed
commit
a8928988d0
1 changed files with 3 additions and 3 deletions
|
@ -92,11 +92,11 @@ impl<'cx, 's, 'i> Parser<'cx, 's, 'i> {
|
||||||
// Literal
|
// Literal
|
||||||
[minus!(), ref tt @ literal!(), ..] => {
|
[minus!(), ref tt @ literal!(), ..] => {
|
||||||
self.shift(2);
|
self.shift(2);
|
||||||
self.literal(tt, true)
|
self.literal(tt, true);
|
||||||
},
|
},
|
||||||
[ref tt @ literal!(), ..] => {
|
[ref tt @ literal!(), ..] => {
|
||||||
self.shift(1);
|
self.shift(1);
|
||||||
self.literal(tt, false)
|
self.literal(tt, false);
|
||||||
},
|
},
|
||||||
// If
|
// If
|
||||||
[dollar!(), ident!(sp, name), ..] if name.as_str() == "if" => {
|
[dollar!(), ident!(sp, name), ..] if name.as_str() == "if" => {
|
||||||
|
@ -122,7 +122,7 @@ impl<'cx, 's, 'i> Parser<'cx, 's, 'i> {
|
||||||
// Element
|
// Element
|
||||||
[ident!(sp, name), ..] => {
|
[ident!(sp, name), ..] => {
|
||||||
self.shift(1);
|
self.shift(1);
|
||||||
self.element(sp, name.as_str())
|
self.element(sp, name.as_str());
|
||||||
},
|
},
|
||||||
// Block
|
// Block
|
||||||
[TtDelimited(sp, ref d), ..] if d.delim == token::DelimToken::Brace => {
|
[TtDelimited(sp, ref d), ..] if d.delim == token::DelimToken::Brace => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue