ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/mdParser/MDTreeParser.g
(Generate patch)

Comparing trunk/OOPSE-2.0/src/mdParser/MDTreeParser.g (file contents):
Revision 2469 by tim, Fri Dec 2 15:38:03 2005 UTC vs.
Revision 2509 by tim, Wed Dec 14 18:02:28 2005 UTC

# Line 254 | Line 254 | signedNumber  returns [double dval]
254  
255   protected
256   signedNumber  returns [double dval]
257 <              : #(MINUS (icMinus:intConst {dval = lexi_cast<double>(icMinus->getText()); dval = -dval;}
258 <                | fcMinus:floatConst) {dval = lexi_cast<double>(fcMinus->getText());dval = -dval;}
259 <                )
260 <              | (ic:intConst {dval = lexi_cast<double>(ic->getText());}
257 >              :
258 >                ic:intConst {dval = lexi_cast<double>(ic->getText());}
259                  | fc:floatConst {dval = lexi_cast<double>(fc->getText());}
260 <                )              
260 >                              
261                ;
262                
263   protected
# Line 267 | Line 265 | floatConst returns [double dval]
265          : d1:FLOATONE {dval = lexi_cast<double>(d1->getText());}  
266          | d2:FLOATTWO {dval = lexi_cast<double>(d2->getText());}
267          ;
268 <        
268 >        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines