File: 1002_typos.patch

package info (click to toggle)
libparser-mgc-perl 0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 536 kB
  • sloc: perl: 1,881; makefile: 2; sh: 1
file content (28 lines) | stat: -rw-r--r-- 1,173 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: fix typos caught by lintian.
Author: Étienne Mollier <emollier@debian.org>
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=157370
Last-Update: 2024-11-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libparser-mgc-perl.orig/lib/Parser/MGC.pm
+++ libparser-mgc-perl/lib/Parser/MGC.pm
@@ -1365,7 +1365,7 @@
    $int = $parser->token_int;
 
 Expects to find an integer in decimal, octal or hexadecimal notation, and
-consumes it. Negative integers, preceeded by C<->, are also recognised.
+consumes it. Negative integers, preceded by C<->, are also recognised.
 
 =cut
 
--- libparser-mgc-perl.orig/lib/Parser/MGC/Tutorial.pod
+++ libparser-mgc-perl/lib/Parser/MGC/Tutorial.pod
@@ -284,7 +284,7 @@
     $self->scope_of( "{", sub { $self->parse_expression_list }, "}" );
  }
 
-During execution of the inner call to C<parse_expression_list>, any occurence
+During execution of the inner call to C<parse_expression_list>, any occurrence
 in the stream of the C<}> marker will appear to be the end of the stream,
 causing the inner call to stop at hopefully the right place (barring other
 syntax errors), and terminating correctly.