puppet: add some keywords and disallow uppercase in identifiers

This commit is contained in:
cn 2012-07-23 00:38:17 +02:00
parent 4556588a71
commit 465900fefa
1 changed files with 5 additions and 2 deletions

View File

@ -79,20 +79,23 @@
:variable Var
* idle noeat
"a-zA-Z0-9_:" variable
"a-z0-9_" variable
:type Type
* idle noeat
"a-zA-Z0-9_" type
"a-z0-9_" type
:ident Idle
* idle noeat strings
"case" kw
"class" kw
"define" kw
"else" kw
"elsif" kw
"false" kw
"if" kw
"in" kw
"inherits" kw
"true" kw
"undef" kw
# prominent attrs