[goalc] macro expansion in integer constants (#1282)

* [goalc] macro expansion in integer constants

* working

* didn't break it yet

* support conditional compilation

* fix up some more small bugs

* fix duplicate evaluation of bitfield definitions

* paranoid
This commit is contained in:
water111
2022-04-07 19:13:22 -04:00
committed by GitHub
parent 2caf75a11c
commit 1db96c72ab
25 changed files with 501 additions and 241 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ std::string FunctionDebugInfo::disassemble_debug_info(bool* had_failure,
const goos::Reader* reader) {
std::string result = fmt::format("[{}]\n", name);
result += disassemble_x86_function(generated_code.data(), generated_code.size(), reader, 0x10000,
0x10000, instructions, function.get(), had_failure);
0x10000, instructions, function.get(), had_failure, true);
return result;
}