diff options
| author | murphy <murphy@rubychan.de> | 2009-04-22 02:46:54 +0000 |
|---|---|---|
| committer | murphy <murphy@rubychan.de> | 2009-04-22 02:46:54 +0000 |
| commit | 5fc96a6af2837a1c03c0880ef88d8dcbe7c6029d (patch) | |
| tree | a736cbc9207031d0a70cf7d6bb2accd37c04baef /lib/coderay/scanners | |
| parent | 2a9211596eafed6abd977842241f9bc369e86ef2 (diff) | |
| download | coderay-5fc96a6af2837a1c03c0880ef88d8dcbe7c6029d.tar.gz | |
More cleanup.
Diffstat (limited to 'lib/coderay/scanners')
| -rw-r--r-- | lib/coderay/scanners/sql.rb | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
