]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fix bug where multiple imports were required
authorKevin <github@kevin-brown.com>
Tue, 21 May 2024 19:45:31 +0000 (15:45 -0400)
committerKevin <github@kevin-brown.com>
Tue, 21 May 2024 19:45:31 +0000 (15:45 -0400)
grammar/JinjaGrammar.g4

index 8314a6bdad7090231e581dbf50ec379c1fbad43a..9669ecbfc186374ad8d98aebe015bdc32635f83b 100644 (file)
@@ -53,7 +53,7 @@ statement_import_variable
     ;
 
 statement_import_variable_list
-    : (statement_import_variable SP? COMMA SP?)+ statement_import_variable
+    : (statement_import_variable SP? COMMA SP?)* statement_import_variable
     ;
 
 statement_import