Make macro-system type and constructor names more uniform; more comments.
This commit is contained in:
@@ -86,7 +86,7 @@ impl parser_common of parser_common for parser {
|
||||
fn parse_ident() -> ast::ident {
|
||||
alt copy self.token {
|
||||
token::IDENT(i, _) { self.bump(); ret self.get_str(i); }
|
||||
token::ACTUALLY(token::w_ident(*)) { self.bug(
|
||||
token::INTERPOLATED(token::nt_ident(*)) { self.bug(
|
||||
~"ident interpolation not converted to real token"); }
|
||||
_ { self.fatal(~"expected ident, found `"
|
||||
+ token_to_str(self.reader, self.token)
|
||||
|
||||
Reference in New Issue
Block a user