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', 'break', 'else', 'else if', 'eval', 'for', 'if', 'return', 'while', 'try', 'catch', 'finally',
), ),
2 => array( 2 => array(
'def', 'false', 'fun', 'true', 'var', 'attr', 'def', 'false', 'fun', 'true', 'var', 'auto', 'attr',
), ),
3 => array( 3 => array(
// built in functions // built in functions

View File

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