Eralt / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

if (x=0) not picked up. #396

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The compiler should recognize it as an error when you try to define a variable 
in an "if" command like this:

if (x =0)

instead of

if (x ==0)

But it doesn't.
Reported by Martin Kim of RWTH Aachen

Original issue reported on code.google.com by tom.i...@gmail.com on 10 Nov 2010 at 1:40

GoogleCodeExporter commented 9 years ago

Original comment by tom.i...@gmail.com on 10 Nov 2010 at 1:42