diff options
Diffstat (limited to 'lib/puppet/parser/grammar.ra')
| -rw-r--r-- | lib/puppet/parser/grammar.ra | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/parser/grammar.ra b/lib/puppet/parser/grammar.ra index c59d36809..b872f3979 100644 --- a/lib/puppet/parser/grammar.ra +++ b/lib/puppet/parser/grammar.ra @@ -7,7 +7,7 @@ class Puppet::Parser::Parser token LBRACK DQTEXT SQTEXT RBRACK LBRACE RBRACE SYMBOL FARROW COMMA TRUE FALSE EQUALS token QMARK LPAREN RPAREN ISEQUAL GREATEREQUAL GREATERTHAN LESSTHAN LESSEQUAL NOTEQUAL token IF ELSE IMPORT DEFINE ELSIF VARIABLE CLASS INHERITS NODE BOOLEAN DOT COLON TYPE -token NAME SEMIC CASE DEFAULT INCLUDE SET +token NAME SEMIC CASE DEFAULT INCLUDE TAG # We have 2 shift/reduce conflicts expect 2 @@ -59,7 +59,7 @@ statement: object | casestatement | import | include - | set + | tag | definition | hostclass | nodedef @@ -91,10 +91,10 @@ include: INCLUDE classnames { ) } -set: SET classnames { +tag: TAG classnames { classnames = aryfy(val[1]) - result = AST::Set.new( + result = AST::Tag.new( :line => @lexer.line, :file => @lexer.file, :type => val[1] |
