Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakasm: fixed syntax tree #471

Merged
merged 5 commits into from
Sep 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tools/Breakasm/asm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void do_expr_labels()
for (auto it = labels.begin(); it != labels.end(); ++it) {
label_s* label = *it;
if (label->composite) {
label->orig = eval_expr(label->name);
label->orig = eval_expr(label->name, false, false);
}
}
}
Expand Down
1 change: 0 additions & 1 deletion Tools/Breakasm/asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ struct define_s {
#define EVAL_ADDRESS 2 // $aabb
#define EVAL_LABEL 3 // BEGIN + including complex expressions that are saved as Label, but the expression is evaluated on the second pass
#define EVAL_STRING 4 // "Hello", 'Hello'
#define EVAL_OP 5 // Operation (+, -, etc.), is used only in the eval_expr method

struct eval_t {
int type;
Expand Down
Loading
Loading