summaryrefslogtreecommitdiff
path: root/regen/regcharclass.pl
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-02-28 11:46:10 -0700
committerKarl Williamson <public@khwilliamson.com>2014-03-01 20:12:16 -0700
commit3ff97bcfdf37e7c963adb1e74d3e49e0a10ab21a (patch)
tree480b36a1c600c1e539dc63ccaa7a4a56ebbdee31 /regen/regcharclass.pl
parent5ab0c3af168e42fe8e9650f621eecaddc87ed441 (diff)
downloadperl-3ff97bcfdf37e7c963adb1e74d3e49e0a10ab21a.tar.gz
regen/regcharclass.pl: White-space; comment nits only
Indent to account for new block added in the previous commit
Diffstat (limited to 'regen/regcharclass.pl')
-rwxr-xr-xregen/regcharclass.pl16
1 files changed, 8 insertions, 8 deletions
diff --git a/regen/regcharclass.pl b/regen/regcharclass.pl
index 0bca409bd1..10e95040dc 100755
--- a/regen/regcharclass.pl
+++ b/regen/regcharclass.pl
@@ -282,12 +282,12 @@ sub __incrdepth {
sub __cond_join {
my ( $cond, $yes, $no )= @_;
if (ref $yes) {
- return {
- test => $cond,
- yes => __incrdepth( $yes ),
- no => $no,
- depth => 0,
- };
+ return {
+ test => $cond,
+ yes => __incrdepth( $yes ),
+ no => $no,
+ depth => 0,
+ };
}
else {
return {
@@ -524,7 +524,7 @@ sub _optree {
}
# first we loop over the possible keys/conditions and find out what they
- # look like we group conditions with the same optree together.
+ # look like; we group conditions with the same optree together.
my %dmp_res;
my @res_order;
local $Data::Dumper::Sortkeys=1;
@@ -1289,7 +1289,7 @@ sub render {
# type defaults to 'generic', and ret_type to 'len' unless type is 'cp'
# in which case it defaults to 'cp' as well.
#
-# it is illegal to do a type 'cp' macro on a pattern with multi-codepoint
+# It is illegal to do a type 'cp' macro on a pattern with multi-codepoint
# sequences in it, as the generated macro will accept only a single codepoint
# as an argument.
#