mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-18 07:01:31 -07:00
parameterize irtree generation path with identifier resolution rules; in most cases, we want the usual order: implicit accesses -> locals -> registers -> globals/tlocals/types/procedures -> macros; but if we are specifically evaluating a call expression tree, we want to prefer callables - in this case, macros should be prioritized.
This commit is contained in:
@@ -1952,6 +1952,12 @@ fancy_viz_eval_tests(void)
|
||||
Bitmap foo = {(unsigned char *)&pixels[0], 18, 18};
|
||||
raddbg_pin(foo);
|
||||
|
||||
//- rjf: name collisions with debugger rules
|
||||
Function_Few_Params_Type *raw = 0;
|
||||
char *text = "some_important_text_here\n";
|
||||
Bitmap bitmap = foo;
|
||||
int x3 = 0;
|
||||
|
||||
//- rjf: 3D geometry
|
||||
float vertex_data[] = // pos.x, pos.y, pos.z, nor.x, nor.y, nor.z, tex.u, tex.v, col.r, col.g, col.b, ...
|
||||
{
|
||||
@@ -2143,7 +2149,7 @@ fancy_viz_eval_tests(void)
|
||||
float *vtx = vertex_data;
|
||||
int vtx_size = sizeof vertex_data;
|
||||
raddbg_pin(geo3d(index_data, count = count, vtx = vtx, vtx_size = vtx_size));
|
||||
int x3 = 0;
|
||||
int x4 = 0;
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user