[template-glib] expr-parser.y: allow statements to join with any EOL



commit f67894941f19fefc5bcaf1f597edb6e54c38469a
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 4 15:07:09 2022 -0700

    expr-parser.y: allow statements to join with any EOL

 src/tmpl-expr-parser.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tmpl-expr-parser.y b/src/tmpl-expr-parser.y
index 5e4cdcb..37926cf 100644
--- a/src/tmpl-expr-parser.y
+++ b/src/tmpl-expr-parser.y
@@ -156,7 +156,7 @@ stmt: IF exp THEN list {
 ;
 
 list: /* nothing */ { $$ = NULL; }
-  | stmt ';' list {
+  | stmt EOL list {
     $$ = add_to_list ($1, $3);
   }
 ;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]