Hi Frank!
Frank Heckenbach wrote:
Thorsten Hindermann wrote:
Exactly, in the GPC sources. The file gpc.gperf contains all keywords with dialect information -- but the latter use some macros (declared in gpc-defs.h).
Thanx for the answer. :-)
If you were writing your program in C and assume that everyone who will compile it has the GPC sources, you could just include this file. Since both probably is not the case, it might be better to generate a Pascal file from it.
Eike and I write pindent with gpc.
There's a script (script/gperf2texi) which does a similar thing to generate a documentation file (doc/keyword.texi). A similar script
This file contains all information we need (much enough keywords :-) )
could be written to produce Pascal code. If you don't feel like doing that (or don't like writing `sed' scripts ;-), I might be persuaded to do it if I know which output format you need...
Thanx, but you don't write the sed-script :-))))
Thorsten