Skip to content

Commit 66e1b26

Browse files
authored
Merge pull request #7 from dismantl/const-to-data
Change "CONST" to "_DATA" to fix string inlining
2 parents 995f1c7 + 5223198 commit 66e1b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

masm_shc/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ bool process_file(t_params &params)
154154
if (seg_name == "pdata" || seg_name == "xdata") {
155155
in_skipped = true;
156156
}
157-
if (seg_name == "CONST") {
157+
if (seg_name == "CONST" || seg_name == "_DATA") {
158158
in_const = true;
159159
}
160160
if (tokens[1] == "ENDS" && tokens[0] == seg_name) {

0 commit comments

Comments
 (0)