[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_grammar.y,1.55,1.56
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_grammar.y,1.55,1.56 |
Date: |
Mon, 21 Apr 2003 17:20:19 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv23844/cscc/csharp
Modified Files:
cs_grammar.y
Log Message:
Recognise the "where" keyword as an identifier in an expression context,
to compile code that erroneously uses "where".
Index: cs_grammar.y
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_grammar.y,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** cs_grammar.y 27 Feb 2003 02:57:43 -0000 1.55
--- cs_grammar.y 21 Apr 2003 21:20:17 -0000 1.56
***************
*** 1350,1353 ****
--- 1350,1354 ----
: LiteralExpression { $$ = $1; }
| Identifier { $$ = $1; }
+ | WHERE { $$ =
ILQualIdentSimple("where"); }
| '(' Expression ')' { $$ = $2; }
| PrimaryExpression '.' Identifier { MakeBinary(MemberAccess, $1,
$3); }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_grammar.y,1.55,1.56,
Rhys Weatherley <address@hidden> <=