]> git.ipfire.org Git - pakfire.git/commitdiff
libpakfire: parser: Drop thing rule
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 29 Apr 2019 22:20:51 +0000 (23:20 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 29 Apr 2019 22:20:51 +0000 (23:20 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/parser/grammar.y

index 16ffd9b2078fd8397a91d9c6ceb8762abdb328e1..ead88d59782d46236c78d1bc546b7f95a36338bd 100644 (file)
@@ -92,12 +92,9 @@ char* current_block = NULL;
 %%
 
 top                                                    : %empty
-                                                       | top thing
-                                                       ;
-
-thing                                          : assignment
-                                                       | block
-                                                       | empty
+                                                       | top assignment
+                                                       | top block
+                                                       | top empty
                                                        ;
 
 empty                                          : T_EOL