|
From: Michael N. <mne...@us...> - 2003-05-16 09:43:09
|
Update of /cvsroot/ruby-dbi/src/lib/dbi
In directory sc8-pr-cvs1:/tmp/cvs-serv19647
Modified Files:
sql.rb
Log Message:
bug fixed: "SELECT 1 - 3" was incorrectly transformed into "SELECT 1 3"
Index: sql.rb
===================================================================
RCS file: /cvsroot/ruby-dbi/src/lib/dbi/sql.rb,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- sql.rb 27 Apr 2003 17:37:02 -0000 1.14
+++ sql.rb 16 May 2003 09:43:05 -0000 1.15
@@ -149,6 +149,7 @@
sql.scan(%r{
(
-- .* (?# matches "--" style comments to the end of line or string )
+ | - (?# matches single "-" )
|
/[*] .*? [*]/ (?# matches C-style comments )
|
|