]> git.ipfire.org Git - pakfire.git/commitdiff
parser: Disable debugging
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Feb 2021 10:40:30 +0000 (10:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Feb 2021 10:40:30 +0000 (10:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/parser/grammar.y
src/libpakfire/parser/scanner.l

index 445f41a25f64b925ece7be906ff09a1c06e53226..1e4c75cab085441bb16a441b709680b6ddf426bc 100644 (file)
@@ -38,7 +38,8 @@
 
 #define YYERROR_VERBOSE 1
 
-#define YYDEBUG 1
+// Enable to debug the grammar
+#define YYDEBUG 0
 #if ENABLE_DEBUG && YYDEBUG
        int yydebug = 1;
 #endif
index 373be3b796f24f03215a9e719b3b04861862954e..73fc2ca429f13b20039b8c7075a3cfa320aeac33 100644 (file)
@@ -23,8 +23,8 @@
 %option stack noyy_top_state
 %option warn
 
-/* %option verbose */
-%option debug
+/* Enable to debug the scanner */
+/* %option debug */
 
 %{
 #define YY_DECL int yylex()