Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!IUS1.CS.CMU.EDU!edw From: edw@IUS1.CS.CMU.EDU (Eddie Wyatt) Newsgroups: comp.lang.c Subject: Re: ambiguous why? Message-ID: <1325@PT.CS.CMU.EDU> Date: 5 Apr 88 19:33:38 GMT References: <1303@PT.CS.CMU.EDU> <3326@haddock.ISC.COM> Sender: netnews@PT.CS.CMU.EDU Organization: Carnegie-Mellon University, CS/RI Lines: 15 >> warning ambiguous assigment: assignment op taken >> *a+=*b; > > Your compiler scans "+=" as two tokens rather than one. (Fixed in dpANS.) > This makes the anachronism "=*" (fixed in dpANS) visible. What a f***ing hack =* is then!!!! If *= consists of two tokens so should =* which obviously doesn't because if it did then neither =* nor = * would be distinguishable by the parser. -- Eddie Wyatt e-mail: edw@ius1.cs.cmu.edu