]> granicus.if.org Git - icinga2/commitdiff
Use MakeLiteral instead of 'new LiteralExpression'
authorGunnar Beutner <gunnar@beutner.name>
Tue, 25 Nov 2014 07:44:47 +0000 (08:44 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 25 Nov 2014 07:44:47 +0000 (08:44 +0100)
refs #7822

lib/config/config_parser.yy

index df61460f4139d3cdc7a1308d1b62eff1d0ce1a09..8072676db6cf4508b0d0a6ffb5d42766b340c701 100644 (file)
@@ -565,15 +565,15 @@ combined_set_op: T_SET
 
 lterm: type
        {
-               $$ = new LiteralExpression(); // ASTify this
+               $$ = MakeLiteral(); // ASTify this
        }
        | library
        {
-               $$ = new LiteralExpression(); // ASTify this
+               $$ = MakeLiteral(); // ASTify this
        }
        | constant
        {
-               $$ = new LiteralExpression(); // ASTify this
+               $$ = MakeLiteral(); // ASTify this
        }
        | T_LOCAL indexer combined_set_op rterm
        {