Skip to content

Commit

Permalink
Revert "Remove chTexts"
Browse files Browse the repository at this point in the history
This reverts commit 2d4d8b7.
  • Loading branch information
Lartu committed Jun 9, 2024
1 parent 2d4d8b7 commit 4efd9f5
Show file tree
Hide file tree
Showing 8 changed files with 1,952 additions and 1,921 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ testing
build
.vscode
*-bin
Icon
test/*
test
Icon
647 changes: 294 additions & 353 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 " : "string ") +
state.add_code((is_number(parameters[i]) ? "ldpl_number " : "chText ") +
literal_paramater_var + " = " + parameters[i] + ";",
state.where);
code += literal_paramater_var;
Expand Down
Loading

0 comments on commit 4efd9f5

Please sign in to comment.