]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Require template name/list for include statement
authorKevin <github@kevin-brown.com>
Tue, 21 May 2024 18:45:08 +0000 (14:45 -0400)
committerKevin <github@kevin-brown.com>
Tue, 21 May 2024 18:45:08 +0000 (14:45 -0400)
grammar/JinjaGrammar.g4

index f643d7076049fed328d55d0f887edbad91b1a3ec..eff36cd18a3b483976a9938b4f311aff713a6df6 100644 (file)
@@ -23,7 +23,7 @@ statement_include_context
 
 statement_include
     : STATEMENT_ID_INCLUDE
-        (SP statement_include_template_list)?
+        (SP statement_include_template_list)
         (SP STATEMENT_INCLUDE_IGNORE_MISSING)?
         (SP statement_include_context)?
     ;