pharo-vm
pharo-vm copied to clipboard
VM build fails when using C-reserved words as temp variable names
While working on bytecode operations (see initializeBytecodeTableForSistaV1
), I used register
as a temp variable name in one of the bytecode handlers.
At the moment of building the VM, I got a parse error, as register
is a reserved word in C.
I think we should detect those cases, and add a prefix/suffix to those variable names so that they do not collide with C reserved words.