From d196d51e07f50f3510c43ad375c5559b58860023 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 29 Sep 2025 09:39:49 +0200 Subject: java: Add tokens support for Java 21 Some new keywords, I opted to modify java-8 grammar to use the new names, even if they are not going to match anything. Makes the tokenizer easier to write. --- meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 7782285..a8f4b97 100644 --- a/meson.build +++ b/meson.build @@ -263,10 +263,12 @@ gen_tokens = executable( java_versions = [ 'java-8', + 'java-21', ] java_unicode_versions = { 'java-8': '6.2.0', + 'java-21': '15.0.0', } java_tokens_sources = [] -- cgit v1.3