Discussion:
Change Include in frontend
Rajat Singh
2014-02-15 02:26:42 UTC
Permalink
Hi,

I want to include the files using #include <filename> in GNU PASCAL instead
of {$INCLUDE}. I am unable to trace where the changes has to happen.

Thanks for help in advance.

Regards,
Rajat Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.g-n-u.de/pipermail/gpc/attachments/20140214/4dccd476/attachment.html>
Waldek Hebisch
2014-02-15 02:52:58 UTC
Permalink
Post by Rajat Singh
I want to include the files using #include <filename> in GNU PASCAL instead
of {$INCLUDE}. I am unable to trace where the changes has to happen.
Handling include directive is done in file 'gpcpp.c'. However, GPC
already handles directives of form:

#include "inc1.inc"

and of form

#include <inc1.inc>

(both behave like corresponding C directives). So what you want
to do?
--
Waldek Hebisch
hebisch at math.uni.wroc.pl
Loading...