dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_grammar.y,1.60,1.61


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_grammar.y,1.60,1.61
Date: Sun, 08 Jun 2003 05:22:13 -0400

Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv19672/cscc/csharp

Modified Files:
        cs_grammar.y 
Log Message:


Disable "GenericReference" because it is causing problems parsing
regular C# code.


Index: cs_grammar.y
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_grammar.y,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -r1.60 -r1.61
*** cs_grammar.y        1 Jun 2003 06:46:59 -0000       1.60
--- cs_grammar.y        8 Jun 2003 09:22:11 -0000       1.61
***************
*** 898,902 ****
  %type <node>          InvocationExpression ExpressionList
  %type <node>          ObjectCreationExpression OptArgumentList ArgumentList
! %type <node>          Argument PrefixedUnaryExpression GenericReference
  
  %type <node>          Statement EmbeddedStatement Block OptStatementList
--- 898,902 ----
  %type <node>          InvocationExpression ExpressionList
  %type <node>          ObjectCreationExpression OptArgumentList ArgumentList
! %type <node>          Argument PrefixedUnaryExpression /*GenericReference*/
  
  %type <node>          Statement EmbeddedStatement Block OptStatementList
***************
*** 964,968 ****
  %type <target>                AttributeTarget
  
! %expect 25
  
  %start CompilationUnit
--- 964,969 ----
  %type <target>                AttributeTarget
  
! /*%expect 25*/
! %expect 21
  
  %start CompilationUnit
***************
*** 1728,1731 ****
--- 1729,1733 ----
                                MakeBinary(AsUntyped, $1, $3);
                        }
+ /*
        | GenericReference                                                      
        {
                                $$ = $1;
***************
*** 1734,1739 ****
--- 1736,1743 ----
                                $$ = CSInsertMethodInvocation($1, $3);
                        }
+ */
        ;
  
+ /*
  GenericReference
        : RelationalExpression '<' ShiftExpression '>'          {
***************
*** 1764,1767 ****
--- 1768,1772 ----
                        }
        ;
+ */
  
  EqualityExpression





reply via email to

[Prev in Thread] Current Thread [Next in Thread]