Sujet : Re: Top 10 most common hard skills listed on resumes...
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.cDate : 30. Aug 2024, 05:24:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86seumwsd7.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Bart <
bc@freeuk.com> writes:
I think that these (with x, y having compatible scalar types):
>
x + 1 = y;
(x + 1) = y; // in case above was parsed differently
>
are both valid syntax in C.
The second line does comply with the ISO C grammar (but does not
satisfy the constraints for an assignment expression).
The first line does not comply with the ISO C grammar. Which is
to say, there is no way to reduce the first line to a single
nonterminal under the ISO C grammar rules.
Disclaimer: the two previous statements represent my best
understanding. I'm fairly confident they are right but I
wouldn't advise someone to bet their life on that.