You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
Result:
The file test.js is included twice in the output file.
The following error is shown:
C:\programs\nodejs\node_modules\preprocessor\Preprocessor.js:225
throw(new Error("Illegal #"+match[2]+": "+this.source.
^
Error: Illegal #include: // #include "test.js
...
at Preprocessor.process (C:\programs\nodejs\node_modules\preprocessor\Preprocessor.js:225:31)
at Object.<anonymous> (C:\programs\nodejs\node_modules\preprocessor\bin\preprocess:65:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
Expected result:
The file test.js is included only once in the output file.
No errors are shown.
P. S. I see that there's an undocumented directive #include_once for such cases. But still this is an error.