zdoom.wiki wrote:ZScript lump can include the names of other lumps for processing similar to DECORATE, but no #include word is used.
Is there any particular reason why you
1. introduce inconsistency (DECORATE, ACS, GLDEFS, SBARINFO and probably some other text lumps use #include).
2. make the life of editing tools programmers harder. To parse "regular" #include, all you have to do is to look for "#include" token and use the word right after it. To parse ZScript include, you'll need to recognize all top level ZScript keywords (such as "class", "struct", "enum", "const", "#define", "extend" etc.) and also update the parser when new top level keywords are introduced.