Stop parsing __asm__.
This commit is contained in:
parent
666e1b4636
commit
885d0d3d33
3 changed files with 1 additions and 10 deletions
|
@ -1184,14 +1184,6 @@ pub impl Parser {
|
|||
}
|
||||
}
|
||||
hi = self.span.hi;
|
||||
} else if self.eat_keyword(&~"__asm__") {
|
||||
self.expect(&token::LPAREN);
|
||||
let asm = self.parse_str();
|
||||
self.expect(&token::COMMA);
|
||||
let cons = self.parse_str();
|
||||
ex = expr_inline_asm(asm, cons);
|
||||
hi = self.span.hi;
|
||||
self.expect(&token::RPAREN);
|
||||
} else if self.eat_keyword(&~"log") {
|
||||
self.expect(&token::LPAREN);
|
||||
let lvl = self.parse_expr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue