Skip to content

Commit

Permalink
Use some more naming::.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Oct 31, 2024
1 parent 08e92aa commit 3b5f00d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/codegen/codegen_neuron_cpp_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,10 +779,10 @@ std::string CodegenNeuronCppVisitor::process_verbatim_text(const std::string& ve
// function is defined in the same mod file
if (program_symtab->is_method_defined(token) && tokens[i + 1] == "(") {
result += token + "(";
if (tokens[i + 2] == "_threadargs_") {
result += "_internalthreadargs_";
} else if (tokens[i + 2] == "_threadargscomma_") {
result += "_internalthreadargscomma_";
if (tokens[i + 2] == naming::THREAD_ARGS) {
result += naming::INTERNAL_THREAD_ARGS;
} else if (tokens[i + 2] == naming::THREAD_ARGS_COMMA) {
result += naming::INTERNAL_THREAD_ARGS_COMMA;
} else {
result += tokens[i + 2];
}
Expand Down

0 comments on commit 3b5f00d

Please sign in to comment.