[RFC] moving the parser to use flex >=2.5.33' buffer stack manager

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[RFC] moving the parser to use flex >=2.5.33' buffer stack manager

Carlo Marcelo Arenas Belon
Greetings,

the following patch (still a work in progress) moves the parser to use
flex's internal buffer stack to manage the include files removing the
depth limitation of 10 include files (up to the number of available file
handles based on my test in Fedora 10 x86).

it seems to pass all checks from the test suite but is still missing
appropiate handling of cfg->filename and definitely needs more testing
and discussion, specially considering it will require bootstrapping with
flex 2.5.33 or newer.

Carlo
---

_______________________________________________
Confuse-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/confuse-devel

confuse-lexer-stack.patch (2K) Download Attachment