From da873ca71381f095745d18fdab77082cbbfb3149 Mon Sep 17 00:00:00 2001 From: Christian Nicolai Date: Sun, 18 Sep 2011 16:30:00 +0200 Subject: [PATCH] Ruby: fixed class declaration hilite --- misc/gen-jsf-bundle.sh | 2 +- ruby.jsf | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/misc/gen-jsf-bundle.sh b/misc/gen-jsf-bundle.sh index 8bf42f1..210c339 100755 --- a/misc/gen-jsf-bundle.sh +++ b/misc/gen-jsf-bundle.sh @@ -9,4 +9,4 @@ else num=$1 fi -tar cvf "${PREFIX}_$num.tar" --exclude="*.part.jsf" *.jsf \ No newline at end of file +tar cvf "${PREFIX}_$num.tar" --exclude="*.part.jsf" ./*.jsf diff --git a/ruby.jsf b/ruby.jsf index 25eff5b..4859c14 100644 --- a/ruby.jsf +++ b/ruby.jsf @@ -410,13 +410,10 @@ done " \t\n" kw_class_space :kw_class_space Idle - * kw_class_decl1 noeat - " \t\n" kw_class_space - -:kw_class_decl1 ClassDecl * rest noeat # first char should be uppercase letter - "a-zA-Z_" kw_class_decl1 + "a-zA-Z_" kw_class_decl noeat + " \t\n" kw_class_space :kw_class_decl ClassDecl * rest noeat