1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 02:54:23 +01:00

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

View File

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