Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regen/HeaderParser: fix typos in comments/POD #22753

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading