> The only question I would like to ask is that how the developers would > like filePath() to be passed to buffer param(). > > Patch one calls filePath() for every readToken call: > > string unknown = params().readToken(lex, token, filePath() ) > > and the second one set buffer_path as a parameter. > > params().buffer_path = filePath(); > > This is a typical performance vs. space+logic choice. Please advise.
I get no response from the list so I will proceed with the second approach, namely adding filePath to buffer param(), unless I find a way to retrieve filePath() from within param(). Bo
