Path: utzoo!utgpu!water!watmath!clyde!att!att-ih!pacbell!ames!pasteur!ucbvax!decwrl!hplabs!hpda!hpcuhb!hpcllla!hpclisp!hpclscu!shankar From: shankar@hpclscu.HP.COM (Shankar Unni) Newsgroups: comp.lang.c++ Subject: Re: User defined operators Message-ID: <1000003@hpclscu.HP.COM> Date: 27 Apr 88 20:14:30 GMT References: <1206@its63b.ed.ac.uk> Organization: HP NSG/ISD Computer Language Lab Lines: 14 > Expression C parse (C++)++ parse > > a+++++b "a" "++" "+" "++" "b" "a" "+++++" "b" > BZZZZZZZZ! There has already been a prolonged discussion about this example. C does *not* parse it like this. It parses it as a "++" "++" "+" b which is syntactically incorrect. Therefore, your example will choke any decent C compiler. Remember, "longest sequence of chars". --scu