Re: program parameters

Paul Isaacs <[email protected]> Thu, 19 Jan 2017 13:43:46 -0500
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Maurice and Waldek,

Thank you for your replies.

The --gpc-rts option is what I need to keep the source code 10206 
compliant but allow an external file name to be accessed.

I am attempting write a 10206 compliant lexical analyzer using 10206 
compliant code and I needed a way to make a file name to be scanned 
available to the program. The code remains compliant but has a compiler 
dependency.

The only other way I can see is to put the source file name inside a 
file with a name that is specified by the analyzer and then read the 
specified file to get the source file name. This may not be all that bad 
because the specified file could also contain the names of directories 
to search for modules and/or other external parameters.

Thanks again,

Paul Isaacs


_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc