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:
parent
92de67ef9e
commit
023d39ed80
5
ruby.jsf
5
ruby.jsf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user