Add the 'auto' keyword.

This commit is contained in:
Jonathan Turner 2012-05-17 10:31:55 -07:00
parent cf97a73485
commit b82895c489
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ $language_data = array (
'break', 'else', 'else if', 'eval', 'for', 'if', 'return', 'while', 'try', 'catch', 'finally',
),
2 => array(
'def', 'false', 'fun', 'true', 'var', 'attr',
'def', 'false', 'fun', 'true', 'var', 'auto', 'attr',
),
3 => array(
// built in functions

View File

@ -49,7 +49,7 @@ syn keyword chaiscriptExceptions try catch throw
syn keyword chaiscriptKeyword def true false attr
"Built in types
syn keyword chaiscriptType fun var
syn keyword chaiscriptType fun var auto
"Built in funcs, keep it simple
syn keyword chaiscriptFunc eval throw