Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!rochester!pt.cs.cmu.edu!andrew.cmu.edu!bader+ From: bader+@andrew.cmu.edu (Miles Bader) Newsgroups: comp.sys.amiga Subject: Re: C Compiler bug? Message-ID: Date: 23 Oct 88 02:20:50 GMT References: <7880002@hpuamsa.UUCP>, <5660021@hpcvca.HP.COM> Organization: Carnegie Mellon Lines: 11 In-Reply-To: <5660021@hpcvca.HP.COM> FSJTM@ALASKA.BITNET (...Ar Henchou Kuzh...) writes: > char *array[] = { "s1" "s2" }; > Now, it seems obvious to me (and every other compiler I > have used) that this is a syntax error. But the Manx compiler never even > burps. What it does do is concat "s1" and "s2" into "s1s2" and put just the In ANSI c, putting two string literals next to one another like that is supposed to be equivalent to a string literal that is the concatenation of the two. So manx is correct by that standard... -Miles