Skip to content

Commit 7d4cac9

Browse files
committed
regen/HeaderParser: Fix typos in comments
1 parent 5683c8a commit 7d4cac9

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
@@ -733,7 +733,7 @@ sub parse_fh {
733733
sub lines { $_[0]->{lines} }
734734

735735
# assuming a line looks like an embed.fnc entry parse it
736-
# and normalize it, and create and EmbedLine object from it.
736+
# and normalize it, and create an EmbedLine object from it.
737737
sub tidy_embed_fnc_entry {
738738
my ($self, $line_data)= @_;
739739
my $line= $line_data->{line};
@@ -1272,7 +1272,7 @@ sub _flatten_cond {
12721272
# into the tree, and want to find the best path for
12731273
# ["E","D","C","B","A"] we should return: ["A","B","C"],["E","D"],
12741274
#
1275-
# This used to reduce the number of conditions in the grouped content,
1275+
# This is used to reduce the number of conditions in the grouped content,
12761276
# and is especially helpful with dealing with DEBUGGING related
12771277
# functionality. It is coupled with careful control over the order
12781278
# that we add paths and conditions to the tree.
@@ -1888,7 +1888,7 @@ file.
18881888
Each content line will be grouped into a structure of nested if/else blocks
18891889
(elif will produce a new nested block) such that the content under the control
18901890
of a given set of normalized condition clauses are grouped together in the order
1891-
the occurred in the file, such that each combined conditional clause is output
1891+
they occurred in the file, such that each combined conditional clause is output
18921892
only once.
18931893
18941894
This means a file like this:
@@ -1944,7 +1944,7 @@ argument, and C<post_process_grouped_content> will be called with an
19441944
array of line hashes for the content in that group, so that the array may be
19451945
modified or sorted. Callbacks called from inside of C<group_content()>
19461946
(that is C<post_process_content> and C<post_process_grouped_content> will be
1947-
called with an additional argument containing and array specifying the actual
1947+
called with an additional argument containing an array specifying the actual
19481948
conditional "path" to the content (which may differ somewhat from the data in
19491949
a lines "cond" property).
19501950

0 commit comments

Comments
 (0)