Skip to content

Commit

Permalink
Merge pull request #7 from dismantl/const-to-data
Browse files Browse the repository at this point in the history
Change "CONST" to "_DATA" to fix string inlining
  • Loading branch information
hasherezade authored Jun 23, 2022
2 parents 995f1c7 + 5223198 commit 66e1b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion masm_shc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ bool process_file(t_params &params)
if (seg_name == "pdata" || seg_name == "xdata") {
in_skipped = true;
}
if (seg_name == "CONST") {
if (seg_name == "CONST" || seg_name == "_DATA") {
in_const = true;
}
if (tokens[1] == "ENDS" && tokens[0] == seg_name) {
Expand Down

0 comments on commit 66e1b26

Please sign in to comment.