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: ambiguous why? Message-ID: <1303@PT.CS.CMU.EDU> Date: 4 Apr 88 21:03:27 GMT Sender: netnews@PT.CS.CMU.EDU Organization: Carnegie-Mellon University, CS/RI Lines: 18 When I was playing around with that last example I posted, I got an error message that said something to the extent: warning ambiguous assigment: assignment op taken syntax error at or near symbol *= A simplified version of the statement is: int *a, *b; *a+=*b; I thought that this should not be ambiguous since the lexer scans left to right. Is there some l to r rule that disambiguates this statement or did I just make it up? -- Eddie Wyatt e-mail: edw@ius1.cs.cmu.edu