ambiguous why?
Sjoerd Mullender
sjoerd at cs.vu.nl
Fri Apr 8 21:42:08 AEST 1988
In article <1303 at PT.CS.CMU.EDU> edw at IUS1.CS.CMU.EDU (Eddie Wyatt) writes:
[ complains that "*a+=*b;" gives a warning about an ambiguous assignment ]
There are compilers (pcc comes to mind) that consider "op =" to be two tokens,
whereas they consider "= op" to be one token.
So your code fragment is tokenized as follows:
*
a
+
=* gives a warning
b
;
--
Sjoerd Mullender
sjoerd at cs.vu.nl
When this doesn't work try sending via seismo.css.gov or mcvax.uucp.
More information about the Comp.lang.c
mailing list