diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-09 15:59:29 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-09 16:47:44 -0800 |
| commit | 1afc943c9174162888631c2ec02af33370a77115 (patch) | |
| tree | 6369343a9eb3630f973467be9bbbd125ad3efc11 /src/comp/syntax/parse | |
| parent | 10c35959e74b26a9c83915e56c2225afbf177d5a (diff) | |
| download | rust-1afc943c9174162888631c2ec02af33370a77115.tar.gz rust-1afc943c9174162888631c2ec02af33370a77115.zip | |
rustc: Rename native_abi_c_stack_cdecl to native_abi_cdecl
Diffstat (limited to 'src/comp/syntax/parse')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 11d68160070..b5b5f15b595 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -2003,13 +2003,13 @@ fn parse_native_mod_items(p: parser, native_name: str, abi: ast::native_abi, fn parse_item_native_mod(p: parser, attrs: [ast::attribute]) -> @ast::item { let lo = p.get_last_lo_pos(); - let abi = ast::native_abi_c_stack_cdecl; + let abi = ast::native_abi_cdecl; if !is_word(p, "mod") { let t = parse_str(p); if str::eq(t, "rust-intrinsic") { abi = ast::native_abi_rust_intrinsic; } else if str::eq(t, "c-stack-cdecl") { - abi = ast::native_abi_c_stack_cdecl; + abi = ast::native_abi_cdecl; } else if str::eq(t, "c-stack-stdcall") { abi = ast::native_abi_stdcall; } else { |
