summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-04-28 21:03:22 +0200
committerJoel Klinghed <the_jk@spawned.biz>2026-04-28 21:03:22 +0200
commite2d0c3596510f152a8d65bc8802414864e1825b2 (patch)
treee84e48585bef20dd3d03799cebf5f9cb7d25a3a4
parenteb5f86052b768a2d87742233fb729a318a551410 (diff)
java: Correct java tokens comments
int_value is not set to any index.
-rw-r--r--src/java_tokens.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java_tokens.hh b/src/java_tokens.hh
index c4e27c0..e8b32fe 100644
--- a/src/java_tokens.hh
+++ b/src/java_tokens.hh
@@ -24,16 +24,16 @@ struct Token {
// str is identifier
kIdentifier,
- // str is keyword, int_value is Keyword index
+ // str is keyword
kReservedKeyword,
- // str is keyword, int_value is Keyword index
+ // str is keyword
kContextualKeyword,
- // str is separator, int_value is Separator index
+ // str is separator
kSeparator,
- // str is operator, int_value is Operator index
+ // str is operator
kOperator,
// int_value is literal value