diff options
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index d153f0273f8..90f8fedb6dc 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -1920,7 +1920,7 @@ fn parse_item_native_mod(&parser p, vec[ast::attribute] attrs) -> @ast::item { expect(p, token::EQ); native_name = parse_str(p); } else { - native_name = ""; + native_name = id; } expect(p, token::LBRACE); auto m = parse_native_mod_items(p, native_name, abi); |
