1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 02:54:23 +01:00

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

View File

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