Hello, I was compiling my firmware program written in C using Keil microVision2 V2.4 compiler. The target is c8051F120 microcontroller.
I noticed that the compiler accepted the following: if (A == B, 1) {;}
Does anyone know why? I would think that a syntatically error is committed here.
Thanks in advance.
HL
...how did you come to write
if (A == B, 1) {;}
in the first place?
Was it just a typo?
yes, it was a typo. Did not even know it was a legitimate syntax in the first place.