From 5fc96a6af2837a1c03c0880ef88d8dcbe7c6029d Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 22 Apr 2009 02:46:54 +0000 Subject: More cleanup. --- lib/coderay/scanners/sql.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/coderay') diff --git a/lib/coderay/scanners/sql.rb b/lib/coderay/scanners/sql.rb index 126c95d..d889be5 100644 --- a/lib/coderay/scanners/sql.rb +++ b/lib/coderay/scanners/sql.rb @@ -39,15 +39,15 @@ module CodeRay module Scanners UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x STRING_PREFIXES = /[xnb]|_\w+/i - + def scan_tokens tokens, options - + state = :initial string_type = nil string_content = '' - + until eos? - + kind = nil match = nil -- cgit v1.2.1