<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: The context sensitivity of C&#8217;s grammar</title>
	<atom:link href="http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/feed/" rel="self" type="application/rss+xml" />
	<link>http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/</link>
	<description>Eli Bendersky's personal website</description>
	<pubDate>Fri, 21 Nov 2008 21:55:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Yevgen Muntyan</title>
		<link>http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/#comment-115880</link>
		<dc:creator>Yevgen Muntyan</dc:creator>
		<pubDate>Fri, 14 Mar 2008 19:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/#comment-115880</guid>
		<description>Here a simple lookup won't do:

typedef int A;
void func()
{
  A A;
}</description>
		<content:encoded><![CDATA[<p>Here a simple lookup won&#8217;t do:</p>
<p>typedef int A;<br />
void func()<br />
{<br />
  A A;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eliben</title>
		<link>http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/#comment-89418</link>
		<dc:creator>eliben</dc:creator>
		<pubDate>Mon, 26 Nov 2007 04:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/#comment-89418</guid>
		<description>Reddit comment thread:

http://programming.reddit.com/info/61b6c/comments/</description>
		<content:encoded><![CDATA[<p>Reddit comment thread:</p>
<p><a href="http://programming.reddit.com/info/61b6c/comments/" rel="nofollow">http://programming.reddit.com/info/61b6c/comments/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eliben</title>
		<link>http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/#comment-89190</link>
		<dc:creator>eliben</dc:creator>
		<pubDate>Sat, 24 Nov 2007 16:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/#comment-89190</guid>
		<description>Art:

In fact, there is no ambiguity here. This is definitely a comment start according to the rules of C. The C preprocessor (cpp) handles comment removal, so what the compiler will see is:

&lt;pre&gt;
{
  int foo, *bar;
  ...
  foo = 3
  ...
}
&lt;/pre&gt;

Which is, of course, an error since the line "foo = 3" isn't terminated by a semicolon.</description>
		<content:encoded><![CDATA[<p>Art:</p>
<p>In fact, there is no ambiguity here. This is definitely a comment start according to the rules of C. The C preprocessor (cpp) handles comment removal, so what the compiler will see is:</p>
<pre>
{
  int foo, *bar;
  ...
  foo = 3
  ...
}
</pre>
<p>Which is, of course, an error since the line &#8220;foo = 3&#8243; isn&#8217;t terminated by a semicolon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Art</title>
		<link>http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/#comment-89186</link>
		<dc:creator>Art</dc:creator>
		<pubDate>Sat, 24 Nov 2007 15:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-grammar/#comment-89186</guid>
		<description>I always liked this one:

{
  int foo, *bar;
  ...
  foo = 3/*bar; /* division by pointer or comment start? */
  ...
}</description>
		<content:encoded><![CDATA[<p>I always liked this one:</p>
<p>{<br />
  int foo, *bar;<br />
  &#8230;<br />
  foo = 3/*bar; /* division by pointer or comment start? */<br />
  &#8230;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
