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:00:55 UTC

[lucy-commits] svn commit: r1189345 - /incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y

Author: marvin
Date: Wed Oct 26 18:00:55 2011
New Revision: 1189345

URL: http://svn.apache.org/viewvc?rev=1189345&view=rev
Log:
Compress some vertical whitespace.

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=1189345&r1=1189344&r2=1189345&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:00:55 2011
@@ -624,16 +624,7 @@ param_list_elems(A) ::= param_variable(B
     CFCBase_decref((CFCBase*)B);
 }
 
-docucomment(A) ::= DOCUCOMMENT(B).
-{
-    A = CFCDocuComment_parse(B);
-}
-
-qualified_id(A) ::= IDENTIFIER(B).
-{
-    A = B;
-}
-
+qualified_id(A) ::= IDENTIFIER(B). { A = B; }
 qualified_id(A) ::= qualified_id(B) SCOPE_OP IDENTIFIER(C).
 {
     size_t size = strlen(B) + strlen(C) + 3;
@@ -641,22 +632,10 @@ qualified_id(A) ::= qualified_id(B) SCOP
     sprintf(A, "%s::%s", B, C);
 }
 
-class_inheritance(A) ::= INHERITS qualified_id(B).
-{
-    A = B;
-}
+docucomment(A)       ::= DOCUCOMMENT(B).                     { A = CFCDocuComment_parse(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); }
 
-cnick(A) ::= CNICK IDENTIFIER(B).
-{
-    A = B;
-}
+blob(A) ::= BLOB(B). { A = B; }
 
-cblock(A) ::= CBLOCK_START blob(B) CBLOCK_CLOSE.
-{
-    A = CFCCBlock_new(B);
-}
-
-blob(A) ::= BLOB(B).
-{
-    A = B;
-}