9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 8c bug?
@ 2002-04-25 15:56 Andrew Pochinsky
  2002-04-25 15:58 ` Dan Cross
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Pochinsky @ 2002-04-25 15:56 UTC (permalink / raw)
  To: 9fans

It seems that 8c does not like typestr as an indentifier: compiling
/********/
extern void sx(int *typestr);
/********/
gives an error message:

term% 8c foo.c
foo.c:1 syntax error, last name typestr

Is there a bug in 8c?

--andrew


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 8c bug?
  2002-04-25 15:56 [9fans] 8c bug? Andrew Pochinsky
@ 2002-04-25 15:58 ` Dan Cross
  2002-04-25 16:07   ` Dan Cross
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Cross @ 2002-04-25 15:58 UTC (permalink / raw)
  To: 9fans

> It seems that 8c does not like typestr as an indentifier: compiling
> /********/
> extern void sx(int *typestr);
> /********/
> gives an error message:
>
> term% 8c foo.c
> foo.c:1 syntax error, last name typestr
>
> Is there a bug in 8c?

This came up a few months ago....  typestr is a reserved word in
the Plan 9 compiler compiler.

	- Dan C.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 8c bug?
  2002-04-25 15:58 ` Dan Cross
@ 2002-04-25 16:07   ` Dan Cross
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Cross @ 2002-04-25 16:07 UTC (permalink / raw)
  To: 9fans

> This came up a few months ago....  typestr is a reserved word in
> the Plan 9 compiler compiler.

Whoops; the really nasty cold that's laid me out for the last few days
is catching up to me.  That should read, ``typestr is a reserved word
in the PLan 9 C compiler.''  This has little to do with, say, yacc.

	- Dan C.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-25 16:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-25 15:56 [9fans] 8c bug? Andrew Pochinsky
2002-04-25 15:58 ` Dan Cross
2002-04-25 16:07   ` Dan Cross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).