summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/Lexer.cpp')
-rw-r--r--Sencha-lang/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sencha-lang/Lexer.cpp b/Sencha-lang/Lexer.cpp
index 52c5af6..5c8f42c 100644
--- a/Sencha-lang/Lexer.cpp
+++ b/Sencha-lang/Lexer.cpp
@@ -2,7 +2,7 @@
Lexer::Lexer()
{
- string keys[] = {"function", "class", "for", "while", "if", "else", "true", "false", "and", "or"};
+ string keys[] = {"import", "class", "for", "while", "if", "else", "true", "false", "and", "or"};
keywords.assign(keys, keys+10);
char punct[] = {'.', ',', ';', '{', '}', '[', ']', '(', ')'};