antlr / grammars-v4

Grammars written for ANTLR v4; expectation that the grammars are free of actions.
MIT License
10.11k stars 3.69k forks source link

[build] Antlr 4.13.2 is a breaking change #4254

Open kaby76 opened 6 days ago

kaby76 commented 6 days ago

Antlr 4.13.2 for JavaScript is a breaking change for testing. This is because the API has changed. https://github.com/antlr/grammars-v4/pull/4242#issuecomment-2366785282 All output from the tester is captured--including the new deprecated warning. If there is any output that is not expected, the test fails.

For now, the version must be set to 4.13.2 for JavaScript because a PR requires the change.https://github.com/antlr/grammars-v4/pull/4242#

In addition, since this might happen again, I will need to implement per-grammar, per-version testing.

I will need to test every grammar, every target and verify that all is working. (I had done over half for #4243, but will need to redo everything, which will take several days of CPU time.)