[M3commit] CVS Update: cm3

Rodney M. Bates rodney at elego.de
Tue Apr 26 18:26:46 CEST 2011


CVSROOT:	/usr/cvs
Changes by:	rodney at birch.	11/04/26 18:26:46

Modified files:
	cm3/m3-tools/m3tk/src/sem/: M3CExpValue.m3 

Log message:
	Fix numeric literal check of final character for LONGINT literals.
	Existing code checks that the last character of any numeric literal
	is a hexadecimal digit.  This is wrong for LONGINT, whose last
	character is 'l' or 'L'.  Added a special case for LONGINT.
	
	M3CExpValue.m3 checks the last character of all numeric literals
	for validity, but no other characters.  This seems very strange,
	since the scanner has already verified all the characters of each
	kind of literal.
	
	Compiled but not tested.




More information about the M3commit mailing list