Subject: | parse is broken after a bad config has been read. |
Hoi David,
I just found that a Config::Grammer object which has failed to parse an
input file is in a 'bad' state, in the sense that when I try to parse
another file with the same object, the internal grammar representation
is broken.
I see two possible fixes:
a) make the parser method fail once an error has been found
b) reset the parser after an error is found to a state where it can be
run again ...
if you tell me what direction you would like to take, I can provide a
fix.
cheers
tobi