Skip to content

Commit

Permalink
regen/HeaderParser: fix typos in comments/POD
Browse files Browse the repository at this point in the history
  • Loading branch information
mauke committed Nov 17, 2024
1 parent 12ad544 commit 61422bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions regen/HeaderParser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ BEGIN {
@cmpop, # include the numerical comparison operators.
'<< >>',
'+ -',
'* / %', # highest prcedence operators.
'* / %', # highest precedence operators.
);

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

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

0 comments on commit 61422bf

Please sign in to comment.