]> git.ipfire.org Git - pakfire.git/commitdiff
parser: Revert back to GLR mode
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Feb 2021 10:53:53 +0000 (10:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Feb 2021 10:53:53 +0000 (10:53 +0000)
We need to look ahead for more than one token which requires us using
GLR.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/parser/grammar.y

index c56749b85c63b0e0f683d8ec78d2c74da793bd50..00f3840cfe296d4fc55b860d9992a77af6ad4936 100644 (file)
@@ -18,6 +18,8 @@
 #                                                                             #
 #############################################################################*/
 
+%glr-parser
+
 %parse-param {PakfireParser parser}
 
 // Generate verbose error messages