tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] parsing 0x1e+1 as 0x1e +1


From: Edmund Grimley Evans
Subject: Re: [Tinycc-devel] parsing 0x1e+1 as 0x1e +1
Date: Wed, 27 Apr 2016 09:14:25 +0100

> A problem solved

What problem?

The following program is correctly rejected by both GCC and TCC, with
fairly similar error messages:

int main() { return 0x1e+1; }

The following program is correctly accepted by both compilers:

#define n 0xe
int main() { return n+1; }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]