Ruby: remove .<digit> float support

Newer Rubies (appearently 1.7 and above) do not accept floating point literals
like .5 anymore with the following error:

	no .<digit> floating literal anymore; put 0 before dot
This commit is contained in:
Christian Nicolai 2011-09-18 22:09:56 +02:00
parent 92de67ef9e
commit 023d39ed80
1 changed files with 0 additions and 5 deletions

View File

@ -38,7 +38,6 @@
"{}" brace recolor=-1
"0" first_digit recolor=-1
"1-9" decimal recolor=-1
"." maybe_float
"\"" string recolor=-1
"'" char recolor=-1
"`" backtick recolor=-1
@ -203,10 +202,6 @@ done
"eE" epart
"." float
:maybe_float Constant
* after_term noeat recolor=-2
"0-9" float recolor=-2
:float Constant
* after_term noeat
"eE" epart