On Fri, Aug 25, 2000 at 07:59:51PM +0200, the keyboard of Christophe Fergeau wrote:
> I have finished the first version of my parser. It correctly parses the file syntax of version 0.4 (did not try with latest cvs snapshot but it only takes a few minutes to add a new field). It just create a wrong node when it encounters the field Ran on. Is Ran on a valid field name or should it be Runs on. If it is valid, I'll add it. The parser has a big limitation : each line must be less than 256 characters long. I thing it only matters when there is an Info: field. Currently, this field is ignored.
Ran on is a vaild field, but it just does the same as Runs on. Don't worry about the Info field. It's handled by another program
> I join the sources to this message. To compile it, run 'gcc identifiers.c parser.c'. By default, it parses a file named syntax3 and prints the 5 last nodes it read. If you want to change this, have a look at main(), it should be very easy. Please test it and report any bug or suggestion
>
> Chris
|