9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 8c reports: End of file
@ 2006-12-19 19:00 Joel Salomon
  2006-12-19 19:09 ` Joel Salomon
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Salomon @ 2006-12-19 19:00 UTC (permalink / raw)
  To: 9fans

Not sure how this is happening:
	term% 8c -FVw slab.c
	<eof> End of file
	term% 
Might there be non-printing characters in the file causing this?
There are no Peter faces in the acme window, so how would I check?

--Joel



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

* Re: [9fans] 8c reports: End of file
  2006-12-19 19:00 [9fans] 8c reports: End of file Joel Salomon
@ 2006-12-19 19:09 ` Joel Salomon
  0 siblings, 0 replies; 3+ messages in thread
From: Joel Salomon @ 2006-12-19 19:09 UTC (permalink / raw)
  To: 9fans

> Not sure how this is happening:

Never mind; it was an unterminated /* */ comment.

--Joel



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

* Re: [9fans] 8c reports: End of file
@ 2006-12-19 19:20 erik quanstrom
  0 siblings, 0 replies; 3+ messages in thread
From: erik quanstrom @ 2006-12-19 19:20 UTC (permalink / raw)
  To: chesky, 9fans

the problem is that ?c is hitting eof while still expecting input.
this is the line of code that produces this diagnostic:

/sys/src/cmd/cc/lex.c:966: 		yyerror("End of file");

the "<eof>" is produced by %L in yyerror.

- erik

----

Not sure how this is happening:
	term% 8c -FVw slab.c
	<eof> End of file
	term% 
Might there be non-printing characters in the file causing this?
There are no Peter faces in the acme window, so how would I check?

--Joel


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

end of thread, other threads:[~2006-12-19 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-19 19:00 [9fans] 8c reports: End of file Joel Salomon
2006-12-19 19:09 ` Joel Salomon
2006-12-19 19:20 erik quanstrom

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).