[fpc-pascal] TP lex change input buffer

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Tue Apr 12 14:12:43 CEST 2016


I'm using TP lex in my application and I would like to change the input
buffer from using files to (memory) strings. What is the supposed way to
do this? Currently I have made a local copy of lexlib and modified the
get_char (and friends) routine. However this does not seem to be the
ideal way to do it, although the comments in lexlib seem to indicate

Regards, Darius

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160412/d3d12a93/attachment.html>

More information about the fpc-pascal mailing list