diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2026-04-28 22:26:35 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2026-04-28 22:26:35 +0200 |
| commit | b6dce2750b6dcd06b9fc2e6cdefe353957c5092b (patch) | |
| tree | 9c44cc8d7ec9561b5161463a28e4a7b87997c586 | |
| parent | ed00d6111ec63faffe1aee21efb9d66df69a0df3 (diff) | |
fixup! java: Add tokens support for Java 21
| -rw-r--r-- | src/grammar.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grammar.cc b/src/grammar.cc index 3526681..c737408 100644 --- a/src/grammar.cc +++ b/src/grammar.cc @@ -195,7 +195,8 @@ class GrammarLoader { merge_terminals(elements); } - static void merge_terminals(std::vector<std::unique_ptr<Element>> const& elements) { + static void merge_terminals( + std::vector<std::unique_ptr<Element>> const& elements) { for (auto const& element : elements) { for (auto& definition : element->definitions) { auto it = definition.symbols.begin(); |
