JavaCC Support
JavaCC Support
Do you have an actual test case and the grammar somewhere I can look? I'm curious.
> [javacc/javacc#85](https://github.com/javacc/javacc/pull/85) has not been integrated into javacc releases. > > Jena running it's own fork of javacc is highly undesirable - it's technical debt. Users must be able to...
The main issue is this is a corner case and doesn't make sense to penalize the normal cases. So you have two options 1. Edit the generated file and make...
Still the same idea works. Just change it to single quote! And if you have escape, add that also as a MORE rule. See examples in the repo
Sure you can use that as a user charstream impl.
> @SimonBin The contents of the literal (XML use of `"` or `'`) is up to the application. Still fine. You need a rule to figure out when to stop...
Because its not a bug :) this is a corner case as most tokens are average 3-4 chars long so the buffer actually should never need expansion. And this elegant...
Just to clarify - the grammar change eliminates the expandbuf call!! I will revisit the charstream fix it I can see tests that it doesn't impact more common situations
Can you point the rule and the grammar file so I can test/validate it myself.
So yeah the MORE pattern still keeps the whole thing in memory :( so I nornally just use SKIP and collect image myself into a buffer like the attached grammar...