TomKrauss / pks-edit

A code editor originally implemented for Atari ST - now available as Windows 64 Bit application
Mozilla Public License 2.0
8 stars 2 forks source link

`require` Keyword must be evaluated *before* Body Section of PKSMacroC File will be compiled #9

Closed TomKrauss closed 2 years ago

TomKrauss commented 2 years ago

The require keyword does not work as expected. It will load the "required" source after the file requiring it was loaded. This is in particular bad, when required files introduce custom types (enums and structs) required in the primary file.