windelbouwman / ppci

A compiler for ARM, X86, MSP430, xtensa and more implemented in pure Python
https://ppci.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
337 stars 36 forks source link

Missing diagnostics: "invalid constant" #132

Open pmor13 opened 2 years ago

pmor13 commented 2 years ago

Consider this code:

int x = 0xe+1;

Expected diagnostics:

invalid constant

Actual diagnostics:

<nothing>