Skip to content

Commit 2759f6d

Browse files
committed
Revert RESERVED_WORDS list order change.
1 parent 050b4c2 commit 2759f6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/other/utils.jl

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import Base: isidentifier, is_id_start_char, is_id_char
22

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"])
88

99
VERSION < v"0.6.0-dev.2194" && push!(RESERVED_WORDS, "ccall")
1010
VERSION >= v"0.6.0-dev.2698" && push!(RESERVED_WORDS, "struct")

0 commit comments

Comments
 (0)