You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/10/26 20:01:04 UTC
[lucy-commits] svn commit: r1189349 -
/incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y
Author: marvin
Date: Wed Oct 26 18:01:04 2011
New Revision: 1189349
URL: http://svn.apache.org/viewvc?rev=1189349&view=rev
Log:
Allow empty embedded C blocks.
Modified:
incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y
Modified: incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y?rev=1189349&r1=1189348&r2=1189349&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y Wed Oct 26 18:01:04 2011
@@ -642,6 +642,7 @@ docucomment(A) ::= DOCUCOMMENT(B).
class_inheritance(A) ::= INHERITS qualified_id(B). { A = B; }
cnick(A) ::= CNICK IDENTIFIER(B). { A = B; }
cblock(A) ::= CBLOCK_START blob(B) CBLOCK_CLOSE. { A = CFCCBlock_new(B); }
+cblock(A) ::= CBLOCK_START CBLOCK_CLOSE. { A = CFCCBlock_new(""); }
blob(A) ::= BLOB(B). { A = B; }
blob(A) ::= blob(B) BLOB(C).