[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
variable length fields
From: |
Leo Kirch |
Subject: |
variable length fields |
Date: |
Thu, 06 Jan 2005 12:34:34 +0000 |
hi
i've got the following problem with bison: imagine a text file by the
structure of one line that tells us how many lines will follow and the
following lines... ahm... sample:
......
......
3 // three lines will follow
line1 // the first line...
line2
line3 //the last line..
2
anotherline1
anotherline2
....
...
and so on. but how do i tell bison to remember (3) and then read exactly the
next three lines?
hope that wasnt too confusing
thanks a lot
sebastian
- variable length fields,
Leo Kirch <=