From: Ken Youens-Clark Date: Thu, 21 Aug 2003 02:39:21 +0000 (+0000) Subject: Got rid of "our." X-Git-Tag: v0.04~258 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=70dfd7c41f865d49e6faa374cb13728c101d6f91;p=dbsrgits%2FSQL-Translator.git Got rid of "our." --- diff --git a/lib/SQL/Translator/Parser/Oracle.pm b/lib/SQL/Translator/Parser/Oracle.pm index df108b0..14415ec 100644 --- a/lib/SQL/Translator/Parser/Oracle.pm +++ b/lib/SQL/Translator/Parser/Oracle.pm @@ -1,7 +1,7 @@ package SQL::Translator::Parser::Oracle; # ------------------------------------------------------------------- -# $Id: Oracle.pm,v 1.6 2003-08-16 13:42:35 rossta Exp $ +# $Id: Oracle.pm,v 1.7 2003-08-21 02:39:21 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark # @@ -95,7 +95,7 @@ constrnt_state use strict; use vars qw[ $DEBUG $VERSION $GRAMMAR @EXPORT_OK ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.6 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; use Data::Dumper; @@ -114,7 +114,7 @@ my $parser; $GRAMMAR = q! -{ our ( %tables, $table_order ) } +{ my ( %tables, $table_order ) } # # The "eofile" rule makes the parser fail if any "statement" rule diff --git a/lib/SQL/Translator/Parser/Sybase.pm b/lib/SQL/Translator/Parser/Sybase.pm index 9a16e3e..287762f 100644 --- a/lib/SQL/Translator/Parser/Sybase.pm +++ b/lib/SQL/Translator/Parser/Sybase.pm @@ -1,7 +1,7 @@ package SQL::Translator::Parser::Sybase; # ------------------------------------------------------------------- -# $Id: Sybase.pm,v 1.5 2003-08-19 21:05:47 kycl4rk Exp $ +# $Id: Sybase.pm,v 1.6 2003-08-21 02:39:21 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain , @@ -40,7 +40,7 @@ www.midsomer.org. use strict; use vars qw[ $DEBUG $VERSION $GRAMMAR @EXPORT_OK ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.6 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; use Data::Dumper; @@ -58,7 +58,7 @@ $::RD_HINT = 1; # Give out hints to help fix problems. $GRAMMAR = q{ { - our ( %tables, @table_comments ); + my ( %tables, @table_comments ); } startrule : statement(s) eofile { \%tables }