You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
update generated parser for Java properties with latest ANTLR runtime version #946
This error message appears in the log when opening an application.properties file: ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.9.3
I think we need to re-generate the parser for Java properties with the ANTLR version that we use in the dependencies, which seems to be 4.9.3.
What will be the difference? I haven't looked into the details yet, but re-using a properties parser sounds like a good idea instead of keeping our own up-to-date. But we should make sure that the switch to a new parser doesn't affect the coding experience here. I have things like fault-tolerant parsing in mind here. WDYT?
Activity
BoykoAlex commentedon Jan 9, 2023
@martinlippert I had an idea of switching to OR Properties parser and AST.
martinlippert commentedon Jan 10, 2023
What will be the difference? I haven't looked into the details yet, but re-using a properties parser sounds like a good idea instead of keeping our own up-to-date. But we should make sure that the switch to a new parser doesn't affect the coding experience here. I have things like fault-tolerant parsing in mind here. WDYT?
BoykoAlex commentedon Jan 11, 2023
Fixed with 39de9aa
Rewrite parser rather than our own is moved to: #949