[fpc-pascal] Proper preprocessor?

Marco van de Voort marcov at stack.nl
Wed Jun 20 15:41:16 CEST 2018


In our previous episode, Ryan Joseph said:
> > If the preprocessor really does such extended work, can't one simply keep the intermediate output of the preprocessor as a source file and then relate to that?
> 
> Then you have 2 versions of the source code right?

No. One source, and one temporary preprocessed form for the compiler which
you don't need to store. But there are many such temporary
digested forms, like assembler and .o's in FPC's case

True. Error handling would be a problem, but if you keep the hacky
constructs in separate files that is quite workable.




More information about the fpc-pascal mailing list