Skip to content

Commit

Permalink
Fix enum named for number types
Browse files Browse the repository at this point in the history
  • Loading branch information
fotos committed Jun 5, 2022
1 parent d69b32c commit 15d8aac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ public String toEnumVarName(String name, String datatype) {
varName = varName.replaceAll("-", "MINUS_");
varName = varName.replaceAll("\\+", "PLUS_");
varName = varName.replaceAll("\\.", "_DOT_");
return varName;
return "N" + varName;
}

// string
Expand Down

0 comments on commit 15d8aac

Please sign in to comment.