diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-06-26 16:18:37 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-06-26 16:18:37 -0700 |
| commit | 697f1e38d646bb6c7bab054c8c8c5b469c566ef6 (patch) | |
| tree | 614999c97dd8e6f648f8a3fd41a8de3304baffa9 /src/libsyntax/parse/token.rs | |
| parent | 999b567e2af0a454bc862bc2e5b1bc16dae78f44 (diff) | |
Change 'native' and 'crust' to 'extern'.
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
Diffstat (limited to 'src/libsyntax/parse/token.rs')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index feffbd4020c..0586a3c2d52 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -288,7 +288,7 @@ fn restricted_keyword_table() -> hashmap<str, ()> { "be", "break", "check", "claim", "class", "const", "cont", "copy", "crust", "do", "drop", - "else", "enum", "export", + "else", "enum", "export", "extern", "fail", "false", "fn", "for", "if", "iface", "impl", "import", "let", "log", "loop", |
