Re: [fpc-pascal] TP lex change input buffer

2016-04-13 Thread leledumbo
> 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? >From the comments: "The variables yyinput and yyoutput are the text files which are used by the lexical analyzer. By default, they are assign

[fpc-pascal] TP lex change input buffer

2016-04-13 Thread Darius Blaszyk
Hi, 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