From: Chris Hilton Date: Mon, 19 Mar 2007 17:11:02 +0000 (+0000) Subject: Removed unused rules procedure_body and view_body X-Git-Tag: v0.11008~368 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f803dd52c2d855ff7bcab29139105e5ecd4f0e24;p=dbsrgits%2FSQL-Translator.git Removed unused rules procedure_body and view_body --- diff --git a/lib/SQL/Translator/Parser/SQLServer.pm b/lib/SQL/Translator/Parser/SQLServer.pm index 9baecaa..e61ab5c 100644 --- a/lib/SQL/Translator/Parser/SQLServer.pm +++ b/lib/SQL/Translator/Parser/SQLServer.pm @@ -1,7 +1,7 @@ package SQL::Translator::Parser::SQLServer; # ------------------------------------------------------------------- -# $Id: SQLServer.pm,v 1.5 2007-03-14 17:03:52 duality72 Exp $ +# $Id: SQLServer.pm,v 1.6 2007-03-19 17:11:02 duality72 Exp $ # ------------------------------------------------------------------- # Copyright (C) 2002-4 SQLFairy Authors # @@ -39,7 +39,7 @@ should probably be considered a work in progress. 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; @@ -217,8 +217,6 @@ create_procedure : /create/i PROCEDURE '[' WORD '].' WORD not_go GO PROCEDURE : /procedure/i | /function/i -procedure_body : not_go(s) - create_view : /create/i /view/i WORD not_go GO { @table_comments = (); @@ -230,8 +228,6 @@ create_view : /create/i /view/i WORD not_go GO $views{ $view_name }{'sql'} = $sql; } -view_body : not_go(s) - not_go : /((?!\bgo\b).)*/is create_def : constraint