r10285 - in /trunk/libparse-yapp-perl: ./ debian/ lib/Parse/

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Sat Dec 1 12:12:11 UTC 2007


Author: vdanjean
Date: Sat Dec  1 12:12:11 2007
New Revision: 10285

URL: http://svn.debian.org/wsvn/?sc=1&rev=10285
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libparse-yapp-perl/debian/
    trunk/libparse-yapp-perl/debian/changelog
    trunk/libparse-yapp-perl/debian/compat
    trunk/libparse-yapp-perl/debian/control
    trunk/libparse-yapp-perl/debian/copyright
    trunk/libparse-yapp-perl/debian/libparse-yapp-perl.docs
    trunk/libparse-yapp-perl/debian/libparse-yapp-perl.examples
    trunk/libparse-yapp-perl/debian/libparse-yapp-perl.install
    trunk/libparse-yapp-perl/debian/rules   (with props)
    trunk/libparse-yapp-perl/debian/watch
Modified:
    trunk/libparse-yapp-perl/Makefile.PL
    trunk/libparse-yapp-perl/lib/Parse/Yapp.pm
    trunk/libparse-yapp-perl/yapp

Modified: trunk/libparse-yapp-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/Makefile.PL?rev=10285&op=diff
==============================================================================
--- trunk/libparse-yapp-perl/Makefile.PL (original)
+++ trunk/libparse-yapp-perl/Makefile.PL Sat Dec  1 12:12:11 2007
@@ -2,19 +2,9 @@
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
 WriteMakefile(
-    'NAME'	=> 'Parse::Yapp',
-    'VERSION_FROM' => 'lib/Parse/Yapp/Driver.pm', # finds $VERSION
-    'MAN3PODS' => { 'lib/Parse/Yapp.pm' => '$(INST_MAN3DIR)/Parse::Yapp.3' },
-    'PM' => {
-              'lib/Parse/Yapp.pm' => '$(INST_LIBDIR)/Yapp.pm',
-              'lib/Parse/Yapp/Options.pm' => '$(INST_LIBDIR)/Yapp/Options.pm',
-              'lib/Parse/Yapp/Driver.pm' => '$(INST_LIBDIR)/Yapp/Driver.pm',
-              'lib/Parse/Yapp/Grammar.pm' => '$(INST_LIBDIR)/Yapp/Grammar.pm',
-              'lib/Parse/Yapp/Lalr.pm' => '$(INST_LIBDIR)/Yapp/Lalr.pm',
-              'lib/Parse/Yapp/Output.pm' => '$(INST_LIBDIR)/Yapp/Output.pm',
-              'lib/Parse/Yapp/Parse.pm' => '$(INST_LIBDIR)/Yapp/Parse.pm'
-            },
-	'EXE_FILES' => [ 'yapp' ],
+	      'NAME' => 'Parse::Yapp',
+	      'VERSION_FROM' => 'lib/Parse/Yapp/Driver.pm', # finds $VERSION
+	      'EXE_FILES' => [ 'yapp' ],
 );
 
 sub MY::postamble {

Added: trunk/libparse-yapp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/changelog?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/changelog (added)
+++ trunk/libparse-yapp-perl/debian/changelog Sat Dec  1 12:12:11 2007
@@ -1,0 +1,140 @@
+libparse-yapp-perl (1.05-11) unstable; urgency=low
+
+  * Update debian/rules to use $(CURDIR) instead of $(PWD) (Closes: #390479) 
+  * Added check against the Makefile before running make clean for lintian
+
+ -- Jay Bonci <jaybonci at debian.org>  Tue, 03 Jul 2007 09:12:19 -0400
+
+libparse-yapp-perl (1.05-10) unstable; urgency=low
+
+  * Spellchecked man page (Closes: #322108) 
+  * Policy version bump to 3.7.2.0 (No other changes)
+  * Changed Build-Depends-Indep on debhelper to be Build-Depends
+
+ -- Jay Bonci <jaybonci at debian.org>  Sun,  4 Jun 2006 17:58:30 -0400
+
+libparse-yapp-perl (1.05-9) unstable; urgency=low
+
+  * New maintainer (Closes: #313635)
+  * Policy-version bump (no other changes)
+  * Changed watchfile to be more universal. Also, enable uupdate
+  * Gave more specific URL in copyright
+  * Updated to use my standard rules template
+
+ -- Jay Bonci <jaybonci at debian.org>  Tue, 12 Jul 2005 21:08:33 -0400
+
+libparse-yapp-perl (1.05-8) unstable; urgency=low
+
+  * lib/Parse/Yapp.pm: =items in documentation (closes: #263848)
+  * debian/watch: added
+  * yapp & lib/Parse/Yapp.pm: - as minus in manpages
+
+ -- Luk Claes <luk.claes at ugent.be>  Fri,  5 Nov 2004 17:29:03 +0100
+
+libparse-yapp-perl (1.05-7) unstable; urgency=low
+
+  * New maintainer (closes: #210212)
+  * Uploaded for Luk by Jaldhar H. Vyas <jaldhar at debian.org>
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Wed, 22 Oct 2003 19:58:43 +0000
+
+libparse-yapp-perl (1.05-6) unstable; urgency=low
+
+  * debian/rules: moved debhelper compatibility level setting to
+    'debian/compat' per latest debhelper best practices
+  * debian/control: updated sections according to latest archive changes:
+    - 'libparse-yapp-perl' from 'interpreters' to 'perl'
+  * debian/control: changed build dependency on 'debhelper' to '(>= 4.1)'
+  * debian/control: upgraded to Debian Policy 3.6.0 (no changes)
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sat, 26 Jul 2003 20:24:17 -0500
+
+libparse-yapp-perl (1.05-5) unstable; urgency=low
+
+  * debian/rules: added erroneously removed 'dh_testroot' to 'binary-indep'
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun,  4 Aug 2002 16:30:50 -0500
+
+libparse-yapp-perl (1.05-4) unstable; urgency=low
+
+  * debian/rules: upgraded to debhelper v4
+  * debian/control: changed build dependency on debhelper accordingly
+  * debian/rules: migrated from 'dh_movefiles' to 'dh_install'
+  * debian/rules: split off 'install' target from 'binary-indep' target
+  * debian/copyright: added pointer to license
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun,  4 Aug 2002 14:16:48 -0500
+
+libparse-yapp-perl (1.05-3) unstable; urgency=low
+
+  * debian/examples: added YappParse.yp per request of upstream author
+    (thanks Francois Desarmenien <francois at fdesar.net>)
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun, 19 May 2002 13:54:35 -0500
+
+libparse-yapp-perl (1.05-2) unstable; urgency=low
+
+  * debian/control: fixed small typo in short description
+    (closes: Bug#130186)
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sat, 16 Feb 2002 18:42:31 -0600
+
+libparse-yapp-perl (1.05-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: upgraded to Debian Policy 3.5.6
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun, 23 Dec 2001 11:16:34 -0600
+
+libparse-yapp-perl (1.04-3) unstable; urgency=low
+
+  * debian/control: upgraded to Debian Policy 3.5.5
+  * debian/control: upgraded to Debian Perl Policy 1.20
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Thu,  5 Jul 2001 21:40:50 -0500
+
+libparse-yapp-perl (1.04-2) unstable; urgency=low
+
+  * debian/control: updated perl dependency
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sat, 14 Apr 2001 15:00:50 -0500
+
+libparse-yapp-perl (1.04-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/copyright: updated
+  * debian/control: updated debhelper dependency to remove dh_testversion
+  * debian/control: upgraded to Debian Policy 3.5.2
+  * debian/control: upgraded to Debian Perl Policy 1.17
+  * debian/rules: upgraded to Debian Perl Policy 1.17
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun,  1 Apr 2001 11:48:34 -0500
+
+libparse-yapp-perl (1.03-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Mon, 15 Jan 2001 21:44:36 -0600
+
+libparse-yapp-perl (1.02-2) unstable; urgency=low
+
+  * debian/control: upgraded to Debian Policy 3.2.1
+  * debian/rules: upgraded to debhelper v3
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun, 14 Jan 2001 11:37:54 -0600
+
+libparse-yapp-perl (1.02-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: updated short description
+  * debian/control: updated long description
+  * debian/control: upgraded to Debian Policy 3.1.1
+  * debian/copyright: updated
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sat, 17 Jun 2000 17:41:58 +0200
+
+libparse-yapp-perl (1.00-1) unstable; urgency=low
+
+  * Initial Release
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sat, 30 Oct 1999 17:35:31 +0200

Added: trunk/libparse-yapp-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/compat?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/compat (added)
+++ trunk/libparse-yapp-perl/debian/compat Sat Dec  1 12:12:11 2007
@@ -1,0 +1,1 @@
+4

Added: trunk/libparse-yapp-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/control?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/control (added)
+++ trunk/libparse-yapp-perl/debian/control Sat Dec  1 12:12:11 2007
@@ -1,0 +1,20 @@
+Source: libparse-yapp-perl
+Section: perl
+Priority: optional
+Maintainer: Jay Bonci <jaybonci at debian.org>
+Standards-Version: 3.7.2.0
+Build-Depends: debhelper (>= 4.1)
+Build-Depends-Indep: perl
+
+Package: libparse-yapp-perl
+Section: perl
+Priority: optional
+Architecture: all
+Depends: ${perl:Depends}
+Description: Perl module for creating fully reentrant LALR parser OO Perl modules
+ This is a collection of modules that let you generate and use yacc
+ like thread safe (reentrant) parsers with perl object oriented
+ interface.
+ .
+ The script yapp is a front-end to the Parse::Yapp module and let you
+ easily create a Perl OO parser from an input grammar file.

Added: trunk/libparse-yapp-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/copyright?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/copyright (added)
+++ trunk/libparse-yapp-perl/debian/copyright Sat Dec  1 12:12:11 2007
@@ -1,0 +1,27 @@
+This package was debianized by Ardo van Rangelrooij <ardo at debian.org>
+on Sat, Oct 30, 1999, 17:13:35 +0200.
+
+It was downloaded from the Comprehensive Perl Archive Network (CPAN).
+http://search.cpan.org/dist/Parse-Yapp
+
+The Parse::Yapp module and its related modules and shell scripts are copyright
+(c) 1998-2001 Francois Desarmenien, France. All rights reserved.
+
+Upstream Author: Francois Desarmenien <francois at fdesar.net>
+
+Copyright:
+	This program is free software; you can redistribute it and/or modify
+	it under the terms of either:
+
+	a) the GNU General Public License as published by the Free
+	Software Foundation; either version 1, or (at your option) any
+	later version, or
+
+	b) the "Artistic License"
+
+	See:
+
+	/usr/share/common-licenses/Artistic
+	/usr/share/common-licenses/GPL
+
+	For more information regarding these licensing options

Added: trunk/libparse-yapp-perl/debian/libparse-yapp-perl.docs
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/libparse-yapp-perl.docs?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/libparse-yapp-perl.docs (added)
+++ trunk/libparse-yapp-perl/debian/libparse-yapp-perl.docs Sat Dec  1 12:12:11 2007
@@ -1,0 +1,1 @@
+README

Added: trunk/libparse-yapp-perl/debian/libparse-yapp-perl.examples
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/libparse-yapp-perl.examples?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/libparse-yapp-perl.examples (added)
+++ trunk/libparse-yapp-perl/debian/libparse-yapp-perl.examples Sat Dec  1 12:12:11 2007
@@ -1,0 +1,2 @@
+Calc.yp
+YappParse.yp

Added: trunk/libparse-yapp-perl/debian/libparse-yapp-perl.install
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/libparse-yapp-perl.install?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/libparse-yapp-perl.install (added)
+++ trunk/libparse-yapp-perl/debian/libparse-yapp-perl.install Sat Dec  1 12:12:11 2007
@@ -1,0 +1,2 @@
+usr/share
+usr/bin

Added: trunk/libparse-yapp-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/rules?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/rules (added)
+++ trunk/libparse-yapp-perl/debian/rules Sat Dec  1 12:12:11 2007
@@ -1,0 +1,52 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+# export DH_COMPAT=4
+
+
+build:
+	dh_testdir
+	# Add here commands to compile the package.
+	perl Makefile.PL verbose INSTALLDIRS=vendor
+clean:
+	dh_testdir
+	dh_testroot
+
+	[ ! -f Makefile ] || $(MAKE) clean
+	rm -f Makefile.old
+	dh_clean
+
+install:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) PREFIX=$(CURDIR)/debian/libparse-yapp-perl/usr OPTIMIZE="-O2 -g -Wall" test install
+	-find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
+
+binary-arch:;
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installman
+	dh_installchangelogs Changes
+	dh_installexamples
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_perl
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: trunk/libparse-yapp-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libparse-yapp-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/debian/watch?rev=10285&op=file
==============================================================================
--- trunk/libparse-yapp-perl/debian/watch (added)
+++ trunk/libparse-yapp-perl/debian/watch Sat Dec  1 12:12:11 2007
@@ -1,0 +1,3 @@
+version=2
+http://www.cpan.org/modules/by-module/Parse/Parse-Yapp-([0-9].*)\.tar.gz \
+ debian uupdate

Modified: trunk/libparse-yapp-perl/lib/Parse/Yapp.pm
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/lib/Parse/Yapp.pm?rev=10285&op=diff
==============================================================================
--- trunk/libparse-yapp-perl/lib/Parse/Yapp.pm (original)
+++ trunk/libparse-yapp-perl/lib/Parse/Yapp.pm Sat Dec  1 12:12:11 2007
@@ -28,7 +28,7 @@
 
 =head1 SYNOPSIS
 
-  yapp -m MyParser grammar_file.yp
+  yapp \-m MyParser grammar_file.yp
 
   ...
 
@@ -56,13 +56,13 @@
 
 =over 4
 
-=item C<Comments>
+=item Comments
 
 Through all your files, comments are either Perl style, introduced by I<#>
 up to the end of line, or C style, enclosed between  I</*> and I<*/>.
 
 
-=item C<Tokens and string literals>
+=item Tokens and string literals
 
 
 Through all the grammar files, two kind of symbols may appear:
@@ -91,7 +91,7 @@
 I<error> token, which is certainly NOT what you meant.
 
 
-=item C<Grammar file syntax>
+=item Grammar file syntax
 
 It is very close to yacc syntax (in fact, I<Parse::Yapp> should compile
 a clean I<yacc> grammar without any modification, whereas the opposite
@@ -121,9 +121,9 @@
 =item *
 
 Precedence declarations, introduced by C<%left>, C<%right> and C<%nonassoc>
-specifying associativity, followed by the list of tokens or litterals
+specifying associativity, followed by the list of tokens or literals
 having the same precedence and associativity.
-The precedence beeing the latter declared will be having the highest level.
+The precedence being the latter declared will be having the highest level.
 (see the yacc or bison manuals for a full explanation of how they work,
 as they are implemented exactly the same way in Parse::Yapp)
 
@@ -172,7 +172,7 @@
 
 A rhs may be followed by an optional C<%prec> directive, followed
 by a token, giving the rule an explicit precedence (see yacc manuals
-for its precise meaning) and optionnal semantic action code block (see
+for its precise meaning) and optional semantic action code block (see
 below).
 
     exp:   '-' exp %prec NEG { -$_[1] }
@@ -184,13 +184,13 @@
 a rule name (This differs from yacc).
 
 
-=item C<The footer section>
+=item The footer section
 
 may contain any valid Perl code and will be appended at the very end
 of your parser module. Here you can write your lexer, error report
 subs and anything relevant to you parser.
 
-=item C<Semantic actions>
+=item Semantic actions
 
 Semantic actions are run every time a I<reduction> occurs in the
 parsing flow and they must return a semantic value.
@@ -229,7 +229,7 @@
 $_[1] to $_[n] are the parameters just as $1 to $n in yacc, while
 $_[0] is the parser object itself.
 
-Having $_[0] beeing the parser object itself allows you to call
+Having $_[0] being the parser object itself allows you to call
 parser methods. Thats how the yacc macros are implemented:
 
 	yyerrok is done by calling $_[0]->YYErrok
@@ -252,7 +252,7 @@
 its semantic value (both can be used to modify their values too, but
 I<know what you are doing> ! See I<Error reporting routine> section for
 an example), a list which contains the tokens the parser expected when
-the failure occured and a reference to the lexer routine.
+the failure occurred and a reference to the lexer routine.
 
 Note that if C<$_[0]-E<gt>YYCurtok> is declared as a C<%nonassoc> token,
 it can be included in C<$_[0]-E<gt>YYExpect> list whenever the input
@@ -274,7 +274,7 @@
 
 where index is an integer. Its value being I<1 .. n> returns the same values
 than I<$_[1] .. $_[n]>, but I<-n .. 0> returns values on the left of the rule
-beeing reduced (It is related to I<$-n .. $0 .. $n> in yacc, but you
+being reduced (It is related to I<$-n .. $0 .. $n> in yacc, but you
 cannot use I<$_[0]> or I<$_[-n]> constructs in Parse::Yapp for obvious reasons)
 
 
@@ -289,19 +289,19 @@
 That's how you can make you parser module reentrant: all of your
 module states and variables are held inside the parser object.
 
-Note: unfortunatly, method calls in Perl have a lot of overhead,
+Note: unfortunately, method calls in Perl have a lot of overhead,
       and when YYData is used, it may be called a huge number
       of times. If your are not a *real* purist and efficiency
       is your concern, you may access directly the user-space
-      in the object: $parser->{USER} wich is a reference to an
+      in the object: $parser->{USER} which is a reference to an
       anonymous hash array, and then benchmark.
 
-If no action is specified for a rule, the equivalant of a default
+If no action is specified for a rule, the equivalent of a default
 action is run, which returns the first parameter:
 
    { $_[1] }
 
-=item C<In rule actions>
+=item In rule actions
 
 It is also possible to embed semantic actions inside of a rule:
 
@@ -323,12 +323,12 @@
 I<in rule actions> can produce, in some cases, spurious conflicts
 that wouldn't happen otherwise.  
 
-=item C<Generating the Parser Module>
+=item Generating the Parser Module
 
 Now that you grammar file is written, you can use yapp on it
 to generate your parser module:
 
-    yapp -v Calc.yp
+    yapp \-v Calc.yp
 
 will create two files F<Calc.pm>, your parser module, and F<Calc.output>
 a verbose output of your parser rules, conflicts, warnings, states
@@ -336,7 +336,7 @@
 
 What your are missing now is a lexer routine.
 
-=item C<The Lexer sub>
+=item The Lexer sub
 
 is called each time the parser need to read the next token.
 
@@ -350,7 +350,7 @@
 It is its duty to return the next token and value to the parser.
 They C<must> be returned as a list of two variables, the first one
 is the token known by the parser (symbolic or literal), the second
-one beeing anything you want (usualy the content of the token, or the
+one being anything you want (usually the content of the token, or the
 literal value) from a simple scalar value to any complex reference,
 as the parsing driver never use it but to call semantic actions:
 
@@ -375,14 +375,14 @@
 
 So you will need an Error reporting sub.
 
-item C<Error reporting routine>
+=item Error reporting routine
 
 If you want one, write it knowing that it is passed as parameter
-the parser object. So you can share information whith the lexer
+the parser object. So you can share information with the lexer
 routine quite easily.
 
 You can also use the C<$_[0]-E<gt>YYErrok> method in it, which will
-resume parsing as if no error occured. Of course, since the invalid
+resume parsing as if no error occurred. Of course, since the invalid
 token is still invalid, you're supposed to fix the problem by
 yourself.
 
@@ -398,7 +398,7 @@
 
 and know what you're doing...
 
-=item C<Parsing>
+=item Parsing
 
 Now you've got everything to do the parsing.
 
@@ -433,11 +433,11 @@
 
 which returns the total number of time the error reporting sub has been called.
 
-=item C<Error Recovery>
+=item Error Recovery
 
 in Parse::Yapp is implemented the same way it is in yacc.
 
-=item C<Debugging Parser>
+=item Debugging Parser
 
 To debug your parser, you can call the YYParse method with a debug parameter:
 
@@ -452,14 +452,14 @@
     0x08         Parse Stack dump
     0x10         Error Recovery tracing
 
-To have a full debugging ouput, use
+To have a full debugging output, use
 
     debug => 0x1F
 
 Debugging output is sent to STDERR, and be aware that it can produce
 C<huge> outputs.
 
-=item C<Standalone Parsers>
+=item Standalone Parsers
 
 By default, the parser modules generated will need the Parse::Yapp
 module installed on the system to run. They use the Parse::Yapp::Driver
@@ -473,7 +473,7 @@
 If you do so, please remember to include Parse::Yapp's copyright notice
 in your main module copyright, so others can know about Parse::Yapp module.
 
-=item C<Source file line numbers>
+=item Source file line numbers
 
 by default will be included in the generated parser module, which will help
 to find the guilty line in your source file in case of a syntax error.

Modified: trunk/libparse-yapp-perl/yapp
URL: http://svn.debian.org/wsvn/trunk/libparse-yapp-perl/yapp?rev=10285&op=diff
==============================================================================
--- trunk/libparse-yapp-perl/yapp (original)
+++ trunk/libparse-yapp-perl/yapp Sat Dec  1 12:12:11 2007
@@ -76,11 +76,11 @@
 generated parser is directly an executable script, you can specifie one
 with the I<-b> option, ie:
 
-    yapp -b '/usr/local/bin/perl -w' -o myscript.pl myscript.yp
+    yapp \-b '/usr/local/bin/perl \-w' \-o myscript.pl myscript.yp
 
 This will output a file called F<myscript.pl> whose very first line is:
 
-    #!/usr/local/bin/perl -w
+    #!/usr/local/bin/perl \-w
 
 The argument is mandatory, but if you specify an empty string, the value
 of I<$Config{perlpath}> will be used instead.




More information about the Pkg-perl-cvs-commits mailing list