Hey there.
I'm writing a small application that has a belonging
configuration-file.
At the moment, I'm parsing the file with basic for-lops, but this is
pretty slow, and also I need to extend the parser to be able to read
more configuration-entries.
A friend of mine told me I should take a look at yacc/lex, and so I
googled for hours for some simple examples on this. I didn't really
find anything useful.
So my question is, could someone please post a simple example on how
to parse generic 'option = value' files with C and yacc/lex?
Thanks in advance.
--
Mvh. / Best Regards,
Jesper Nøhr <je****@noehr.org>