Restrict require to global scope and track required files independently
Build / AerScript (push) Successful in 40s

This commit is contained in:
2026-10-24 23:53:53 +02:00
parent b513add46b
commit c42b0ae010
5 changed files with 76 additions and 23 deletions
-1
View File
@@ -4998,7 +4998,6 @@ static const LangConstruct aLangConstruct[] = {
{ PH7_KEYWORD_GOTO, PH7_CompileGoto }, /* goto statement */
{ PH7_KEYWORD_CONST, PH7_CompileConstant }, /* const statement */
{ PH7_KEYWORD_INCLUDE, PH7_CompileInclude }, /* include statement */
{ PH7_KEYWORD_REQUIRE, PH7_CompileInclude }, /* require statement */
};
/*
* Return a pointer to the global scope handler routine associated