From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 30 Aug 1995 12:05:27 -0400 From: Andrew C Bulhak acb@cs.monash.edu.au Subject: Set User (aka su) Topicbox-Message-UUID: 1e0f39a0-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950830160527.TP9f4Xb-DX5nkW902GaxYfyFMYy-1BOC_HUxSkuOOZs@z> [Byron Rakitzis] > > See Ken Thomson's paper on his C compiler. It is an extension used to > map enum constants to array indices. So > > char *msg_string[] = { > [ENOENT] "No such file or directory", > } > > would yield > > msg_string[ENOENT] == "No such file or directory" I think I missed the original message. I know that GNU C has this extension; which other compilers support it? Does Plan 9's PCC? -- /d/def/s/scale/u/dup/f/forall{load def}{loop}stopped pop/r{u 1 lt{-1 0 moveto 1 1 lineto stroke}{[[(ha_a0\211)(db\\h\(~)(eVhdOj)(jd_dbd)(dh\\bT\200)(f_ab^\211) (c]ffe\201)(`@h`x\200)(cZhd#h)(hb^d0v)(`Lh`8t)(eVhd\223~)(gj^a\230j)(h_ab\210a) (gd^c\211\205)]{[exch{96 sub}f]}f]{gsave 1 64 div u s concat u 1 sub r grestore }f}ifelse pop}d 240 u s 1.25 1 translate 4 r showpage% - acb@cs.monash.edu.au -