-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ParseXS: generate_output(): change branch nesting
Change the nesting of a couple of branches. No functional changes. Change this: if (/Foo plus a special case/) { do an optimisation involving Foo } elsif (/Foo/) { do Foo } elsif (...) to this: if (/Foo/) { if (/Foo plus a special case/) { do an optimisation involving Foo } else { do Foo } elsif (...) This means that the major branches are solely for detecting the basic varieties of typemap, while an optimisation for one of those varieties is handled within that major branch. The diff looks bigger than it is - all the blocks of code within each conditional are unchanged.
- Loading branch information
Showing
1 changed file
with
36 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters