[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/ilasm ilasm_grammar.y,1.33,1.34 ilasm_s
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/ilasm ilasm_grammar.y,1.33,1.34 ilasm_scanner.l,1.12,1.13 |
Date: |
Mon, 10 Mar 2003 07:04:56 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/ilasm
In directory subversions:/tmp/cvs-serv20981/ilasm
Modified Files:
ilasm_grammar.y ilasm_scanner.l
Log Message:
Ignore the ".language" directive if it occurs in the input.
Index: ilasm_grammar.y
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ilasm/ilasm_grammar.y,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** ilasm_grammar.y 10 Mar 2003 02:46:45 -0000 1.33
--- ilasm_grammar.y 10 Mar 2003 12:04:54 -0000 1.34
***************
*** 681,684 ****
--- 681,685 ----
%token D_IMAGEBASE "`.imagebase'"
%token D_IMPLICITCOM "`.implicitcom'"
+ %token D_LANGUAGE "`.language'"
%token D_LIBRARY "`.library'"
%token D_LINE "`.line'"
***************
*** 1029,1032 ****
--- 1030,1039 ----
;
+ LanguageDeclaration
+ : D_LANGUAGE SQUOTE_STRING
+ | D_LANGUAGE SQUOTE_STRING ',' SQUOTE_STRING
+ | D_LANGUAGE SQUOTE_STRING ',' SQUOTE_STRING ',' SQUOTE_STRING
+ ;
+
/*
* Common definitions.
***************
*** 3838,3841 ****
--- 3845,3851 ----
| D_CUSTOM '(' CustomOwner ')' CustomType {
ILAsmAttributeCreateFor($3, $5, 0);
+ }
+ | LanguageDeclaration {
+ /* Nothing to do here: ".language" is ignored */
}
;
Index: ilasm_scanner.l
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ilasm/ilasm_scanner.l,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** ilasm_scanner.l 18 Feb 2003 05:43:34 -0000 1.12
--- ilasm_scanner.l 10 Mar 2003 12:04:54 -0000 1.13
***************
*** 295,298 ****
--- 295,299 ----
<INITIAL,JAVAMODE>".imagebase" { return D_IMAGEBASE; }
<INITIAL,JAVAMODE>".implicitcom" { return D_IMPLICITCOM; }
+ <INITIAL,JAVAMODE>".language" { return D_LANGUAGE; }
<INITIAL,JAVAMODE>".library" { return D_LIBRARY; }
<INITIAL,JAVAMODE>".line" { return D_LINE; }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/ilasm ilasm_grammar.y,1.33,1.34 ilasm_scanner.l,1.12,1.13,
Rhys Weatherley <address@hidden> <=