Lazarus
Free Pascal => General => Topic started by: 440bx on January 24, 2020, 07:23:02 pm
-
Hello,
I'd like FPC to only do a syntax check on some source files (full parse but, no code generation.) I didn't see a command line option that would tell FPC to only do syntax checking and, I'm wondering if I missed it or if the option doesn't exist.
That's my question: is there a command line switch that instructs FPC to do syntax checking only ?
Thank you for your help.
-
There is no such option.
-
There is no such option.
Thank you Jonas.
-
I usually use -s to achieve such purpose. The option doesn't do syntax check but makes FPC does not call assembler and linker which is pretty much what syntax check does.
-
I usually use -s to achieve such purpose. The option doesn't do syntax check but makes FPC does not call assembler and linker which is pretty much what syntax check does.
Good suggestion, thank you.