From 02b793c0cae8467a0f3e0b2297b5cc1e3638493b Mon Sep 17 00:00:00 2001 From: Jonas Rosling Date: Tue, 24 Jul 2012 21:05:52 +0100 Subject: [PATCH] fixed broken records and broken ints --- erlang.jsf | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/erlang.jsf b/erlang.jsf index 0aab524..0ad15f4 100644 --- a/erlang.jsf +++ b/erlang.jsf @@ -5,7 +5,7 @@ =String fg_110 =String_mod fg_200 bold =String_esc fg_000 bold -=Int fg_033 +=Int fg_110 =Record fg_530 =Recatt =Fun fg_115 @@ -13,8 +13,8 @@ =Keyword bold =Guard fg_200 =Bif fg_501 -=Brace fg_505 -=Brack fg_055 +=Brace fg_033 +=Brack fg_033 =Variable fg_310 =Attribute fg_505 @@ -81,9 +81,18 @@ done :record Record * idle noeat - "a-zA-z_" record + "a-z" rec noeat + "'" qtrec recolor=-1 + +:rec Record + * idle noeat + "a-zA-Z0-9_@" rec "." recatt recolor=-1 +:qtrec Record + * qtrec + "'" rec + :recatt Recatt * idle noeat "a-zA-Z_" recatt @@ -124,16 +133,15 @@ done "0-9" decimal "." float "#" base - "Ee" eintval :float Int * idle noeat "0-9" float + "Ee" eintval :base Int * idle noeat "0-9A-Fa-f" base - "Ee" eintval :eintval Int * eint noeat