Just to clarify, if tcc detects the “extproc” in the first line in the myfile.cmd and that first line is
extproc c:\pascal\pascal.exe
then, tcc closes myfile.cmd file and then executes
c:\pascal\pascal.exe myfile.cmd
I would think that unless this a custom version of pascal, it would it fail with a syntax error? Or does TCC some how pass a pointer to the file missing the first line?