From b82895c489509a319d259318ed6eb6ea91ca0de5 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 17 May 2012 10:31:55 -0700 Subject: [PATCH] Add the 'auto' keyword. --- contrib/geshi/chaiscript.php | 2 +- contrib/vim/syntax/chaiscript.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/geshi/chaiscript.php b/contrib/geshi/chaiscript.php index 99847ec..d1fd89c 100644 --- a/contrib/geshi/chaiscript.php +++ b/contrib/geshi/chaiscript.php @@ -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 diff --git a/contrib/vim/syntax/chaiscript.vim b/contrib/vim/syntax/chaiscript.vim index 5a64bdb..dc89d84 100644 --- a/contrib/vim/syntax/chaiscript.vim +++ b/contrib/vim/syntax/chaiscript.vim @@ -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