From 1ee89811c7bf8fc124e318ca01a605d3dfff1589 Mon Sep 17 00:00:00 2001 From: murphy Date: Thu, 5 Feb 2009 23:45:16 +0000 Subject: Ruby scanner: Fixed rarely used \c, \C-, and \M- escape sequences. * JavaScript scanner: elaborate a comment * SimpleRegexpScanner: Just some testing with the Ruby stack. * coderay-lib.tmproj: I should just remove it from the repo... --- lib/coderay/scanners/java_script.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/coderay/scanners/java_script.rb') diff --git a/lib/coderay/scanners/java_script.rb b/lib/coderay/scanners/java_script.rb index 0187e5b..e9ae14f 100644 --- a/lib/coderay/scanners/java_script.rb +++ b/lib/coderay/scanners/java_script.rb @@ -104,6 +104,7 @@ module Scanners # TODO: string key recognition # There's a problem with expressions like: PAIRS: { 'slide': ['SlideDown','SlideUp'], ... }. + # The commas in the array are confusing the scanner here. # elsif key_expected && match = scan(/["']/) # tokens << [:open, :key] # state = :key -- cgit v1.2.1