Thorsten Hindermann wrote:
I have a special question to Frank and/or Peter: can you tell me a place (in the Web or in the gpc-sources) where I can find all supported keywords of gpc. The best way are they sorted to any supported dialect by gpc (e.g. UCSD,Borland,ISO7186 ...). I need this information for the pindent project.
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).
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.
There's a script (script/gperf2texi) which does a similar thing to generate a documentation file (doc/keyword.texi). A similar script 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...
Frank