Kaynağa Gözat

* ILParser.jay: Set true and false literals properly. Add instance
property attribute.

svn path=/trunk/mcs/; revision=24678

Jackson Harper 22 yıl önce
ebeveyn
işleme
0dea250c4d
2 değiştirilmiş dosya ile 15 ekleme ve 0 silme
  1. 6 0
      mcs/ilasm/parser/ChangeLog
  2. 9 0
      mcs/ilasm/parser/ILParser.jay

+ 6 - 0
mcs/ilasm/parser/ChangeLog

@@ -1,9 +1,15 @@
+2004-03-28  Jackson Harper  <[email protected]>
+
+	* ILParser.jay: Set true and false literals properly. Add instance
+	property attribute.
+	
 2004-02-18  Jackson Harper  <[email protected]>
 
 	* ILParser.jay: Create ExternTypeRefInsts when a valuetype
 	extern_class is encountered. This way the underlying type is not
 	changed to a value type.
 	
+
 2003-12-10  Jackson Harper <[email protected]>
 
 	* ILParser.jay: When modifying extern types, clone them and modify

+ 9 - 0
mcs/ilasm/parser/ILParser.jay

@@ -2226,6 +2226,9 @@ prop_attr 		: /* EMPTY */
                           {
                                 $$ = (FeatureAttr) $1 | FeatureAttr.Specialname;
                           }
+                        | prop_attr K_INSTANCE
+                          {
+                          }
 			;
 
 prop_decls		: /* EMPTY */
@@ -2532,7 +2535,13 @@ hexbytes		: hexbyte
 			;
 
 truefalse		: K_TRUE
+                          {
+                                $$ = true;
+                          }
 			| K_FALSE
+                          {
+                                $$ = false;
+                          }
 			;
 
 id			: ID