|
1 | 1 | import Base: isidentifier, is_id_start_char, is_id_char
|
2 | 2 |
|
3 |
| -const RESERVED_WORDS = Set(["begin", "while", "if", "for", "try", |
4 |
| - "return", "break", "continue", "function", "macro", "quote", "let", |
5 |
| - "local", "global", "const", "abstract", "typealias", "type", "bitstype", |
6 |
| - "immutable", "do", "module", "baremodule", "using", "import", |
7 |
| - "export", "importall", "end", "else", "elseif", "catch", "finally"]) |
| 3 | +const RESERVED_WORDS = Set(["local", "global", "export", "let", "bitstype", |
| 4 | + "typealias", "using", "for", "while", "const", "immutable", |
| 5 | + "baremodule", "continue", "import", "function", "macro", "if", "else", |
| 6 | + "finally", "try", "module", "elseif", "end", "begin", "quote", "do", "break", |
| 7 | + "catch", "abstract", "return", "type", "importall"]) |
8 | 8 |
|
9 | 9 | VERSION < v"0.6.0-dev.2194" && push!(RESERVED_WORDS, "ccall")
|
10 | 10 | VERSION >= v"0.6.0-dev.2698" && push!(RESERVED_WORDS, "struct")
|
|
0 commit comments