🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4812

6.1.7 typo (?) ... reported yet?

#4812
From: Peter Seebach
Date: Fri, 16 Feb 1996 21:09
29 lines
1210 bytes
I see two problems with 6.1.7.  First:

	If the characters ', \, ", or /* occur in the sequence between...

... so since when is `/*' a character?  I don't think this is unclear,
merely incorrect.  :)

The second:

	Header name preprocessing tokens shall only appear within a #include
	preprocessing directive.

This worries me; is the following illegal?

	main() {
		int i;
		1<i>3;
	}

It looks as though <i> is clearly a header-name preprocessing token,
but I can't believe they meant to outlaw string literals as well,
most of which look like legitimate header name tokens.

-s
-- 
Peter Seebach - seebs@solon.com - Copyright 1995 Peter Seebach.
C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
FUCK the communications decency act.  Goddamned government.  [literally.]
The *other* C FAQ - ftp taniemarie.solon.com /pub/c/afq - Not A Flying Toy
Technical Details
Message-ID: <4g2rqp$p5@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: seebs@solutions.solon.com (Peter Seebach)
Newsgroups: comp.std.c
Subject: 6.1.7 typo (?) ... reported yet?
Date: 16 Feb 1996 15:09:45 -0600
Organization: Usenet Fact Police (Undercover)
Message-ID: <4g2rqp$p5@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com