Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!labrea!polya!ali From: ali@polya.Stanford.EDU (Ali T. Ozer) Newsgroups: comp.sys.amiga Subject: Re: Don't forget the comma Message-ID: <4630@polya.Stanford.EDU> Date: 23 Oct 88 00:10:42 GMT References: <8810192323.AA21251@jade.berkeley.edu> Reply-To: ali@polya.Stanford.EDU (Ali T. Ozer) Organization: Stanford University Lines: 13 In article <8810192323.AA21251@jade.berkeley.edu> writes: >Has anyone else run into this "feature" of Manx C? >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" ... That *is* a feature! ANSI C states that strings can be concatanated as in the above case. This lets you break long strings into multiple lines to make your source look prettier. Seems like Manx does the ANSI thing in this case (instead of giving you a syntax error). Ali Ozer