Skip to content

Duke3D: Add sanity checking to CON decimals, hex constants and labels

Dino Bollinger requested to merge dibollinger/eduke32:constant_sanity into master
  • Scripts no longer compile if a hex constant is malformed (e.g. 0x, 0xz)
  • Compiler will now warn if a decimal or hex constant isn't terminated in a sane manner. (example: digit is followed by letters: 100ab)
  • Compiler will now warn if a label starts with digits. This is done to prevent ambiguity between integer constants and actual labels.

Merge request reports