Replace numbers with names

This commit is contained in:
Clément Fournier
2024-04-09 17:24:35 +02:00
parent 835abc80f7
commit 10dfb45dc2
2 changed files with 47 additions and 47 deletions

View File

@ -47,7 +47,7 @@ public class PLSQLCpdLexer extends JavaccCpdLexer {
|| plsqlToken.kind == PLSQLTokenKinds.STRING_LITERAL
|| plsqlToken.kind == PLSQLTokenKinds.QUOTED_LITERAL)) {
// the token kind is preserved
image = String.valueOf(plsqlToken.kind);
image = PLSQLTokenKinds.describe(plsqlToken.kind);
} else if (plsqlToken.kind != PLSQLTokenKinds.CHARACTER_LITERAL
&& plsqlToken.kind != PLSQLTokenKinds.STRING_LITERAL
&& plsqlToken.kind != PLSQLTokenKinds.QUOTED_LITERAL) {