ARudik / phc

Automatically exported from code.google.com/p/phc
0 stars 0 forks source link

args_info doesnt play well with libraries #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We're trying to make phc play well as a library, which can be linked into
other applications. Its easy, so long as there arent any globals (or else
its not re-entrant). The parser is already re-entrant, so its just a matter
or abstracting the globals. The most important of them is the command line
options args_info. If that was moved into a module which could be
initialized to its defaults by a library user, _or_ go through the command
line, that would probably be ideal.

Original issue reported on code.google.com by paul.biggar on 19 Sep 2008 at 10:53