From: Kevin Date: Tue, 21 May 2024 18:45:08 +0000 (-0400) Subject: Require template name/list for include statement X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af3a219111ee18b730b40ee68096ed96b86cc76b;p=thirdparty%2Fjinja.git Require template name/list for include statement --- diff --git a/grammar/JinjaGrammar.g4 b/grammar/JinjaGrammar.g4 index f643d707..eff36cd1 100644 --- a/grammar/JinjaGrammar.g4 +++ b/grammar/JinjaGrammar.g4 @@ -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)? ;