Skip to content

Commit

Permalink
[Tcling] Add more characters that are invalid in a C++ variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
devajithvs committed May 2, 2024
1 parent 95674f4 commit 99ada8a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/clingutils/src/TClingUtils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3251,6 +3251,12 @@ void ROOT::TMetaUtils::GetCppName(std::string &out, const char *in)
case ')': repl = "cP"; break;
case '[': repl = "oB"; break;
case ']': repl = "cB"; break;
case '{': repl = "lB"; break;
case '}': repl = "rB"; break;
case ';': repl = "sC"; break;
case '#': repl = "hS"; break;
case '?': repl = "qM"; break;
case '`': repl = "bT"; break;
case '!': repl = "nO"; break;
case ',': repl = "cO"; break;
case '$': repl = "dA"; break;
Expand Down

0 comments on commit 99ada8a

Please sign in to comment.