Skip to content

Commit

Permalink
Merge pull request #211 from JuliaLang/sp/public
Browse files Browse the repository at this point in the history
add public kw
  • Loading branch information
pfitzseb authored Apr 22, 2024
2 parents 50e1f64 + ac053f2 commit c64f91f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lexer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import ..Tokens: AbstractToken, Token, RawToken, Kind, TokenError, UNICODE_OPS,
import ..Tokens: FUNCTION, ABSTRACT, IDENTIFIER, BAREMODULE, BEGIN, BREAK, CATCH, CONST, CONTINUE,
DO, ELSE, ELSEIF, END, EXPORT, FALSE, FINALLY, FOR, FUNCTION, GLOBAL, LET, LOCAL, IF,
IMPORT, IMPORTALL, MACRO, MODULE, OUTER, QUOTE, RETURN, TRUE, TRY, TYPE, USING, WHILE, ISA, IN,
MUTABLE, PRIMITIVE, STRUCT, WHERE
MUTABLE, PRIMITIVE, PUBLIC, STRUCT, WHERE


export tokenize
Expand Down Expand Up @@ -1093,6 +1093,7 @@ Tokens.MODULE,
Tokens.MUTABLE,
Tokens.OUTER,
Tokens.PRIMITIVE,
Tokens.PUBLIC,
Tokens.QUOTE,
Tokens.RETURN,
Tokens.STRUCT,
Expand Down
1 change: 1 addition & 0 deletions src/token_kinds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
NEW,
OUTER,
PRIMITIVE,
PUBLIC,
QUOTE,
RETURN,
STRUCT,
Expand Down
1 change: 1 addition & 0 deletions test/lexer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ end
"module",
"mutable",
"primitive",
"public",
"quote",
"return",
"struct",
Expand Down

0 comments on commit c64f91f

Please sign in to comment.