Skip to content

Commit

Permalink
Remove chTexts
Browse files Browse the repository at this point in the history
  • Loading branch information
Lartu committed Jun 9, 2024
1 parent 96078b9 commit 2d4d8b7
Show file tree
Hide file tree
Showing 8 changed files with 1,921 additions and 1,952 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ testing
build
.vscode
*-bin
Icon
Icon
test/*
test
647 changes: 353 additions & 294 deletions src/aux/aux_c_format.cpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/aux/aux_code.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void add_call_code(string &subprocedure, vector<string> &parameters,
// C++ doen't allow passing literals in reference parameters, we create
// vars for them
string literal_paramater_var = state.new_literal_parameter_var();
state.add_code((is_number(parameters[i]) ? "ldpl_number " : "chText ") +
state.add_code((is_number(parameters[i]) ? "ldpl_number " : "string ") +
literal_paramater_var + " = " + parameters[i] + ";",
state.where);
code += literal_paramater_var;
Expand Down
Loading

0 comments on commit 2d4d8b7

Please sign in to comment.