Skip to content

Commit 874dd5f

Browse files
committed
regen/HeaderParser: fix typos in comments/POD
Fixes #22740.
1 parent a0f2cb3 commit 874dd5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

regen/HeaderParser.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ BEGIN {
7979
@cmpop, # include the numerical comparison operators.
8080
'<< >>',
8181
'+ -',
82-
'* / %', # highest prcedence operators.
82+
'* / %', # highest precedence operators.
8383
);
8484

8585
my @unop= qw( ! ~ + - );
@@ -220,7 +220,7 @@ sub _count_ops {
220220
# in a sensible order. Anything starting with PERL_IN_
221221
# should be on the left in alphabetical order. Digits
222222
# should be on the right (eg 0), and ties are resolved
223-
# by stripping non-alpha-numerc, thus removing underbar
223+
# by stripping non-alpha-numeric, thus removing underbar
224224
# parens, spaces, logical operators, etc, and then by
225225
# lc comparison of the result.
226226
sub _sort_terms {
@@ -343,7 +343,7 @@ sub _pt_as_str {
343343
}
344344

345345
# Returns the precedence of an operator, returns 0 if there is no token
346-
# or the next token is not an op, or confesss if it encounters an op it does not
346+
# or the next token is not an op, or confess if it encounters an op it does not
347347
# know.
348348
sub _precedence {
349349
my $self= shift;
@@ -1657,7 +1657,7 @@ conditional blocks which include the line. Each line has its own copy of the
16571657
conditions it was operated on currently, but that may change so dont alter
16581658
this data. The inner arrays may contain more than one element. If so then the
16591659
line is part of an "#else" or "#elsif" and the clauses should be considered to
1660-
be a conjuction when considering "when is this line included", however when
1660+
be a conjunction when considering "when is this line included", however when
16611661
considered as part of an if/elsif/else, each added clause represents the most
16621662
recent condition. In the following you can see how:
16631663

0 commit comments

Comments
 (0)