diff options
author | Karl Williamson <khw@cpan.org> | 2018-11-11 21:48:53 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-11-16 09:21:35 -0700 |
commit | 46167d76640b8ae760665fc0fd2f94ac4760438c (patch) | |
tree | 5293f3d96b38ccc90f4ebd7bcd4582243273bb77 /pod/perldebguts.pod | |
parent | 282634ed6aed040ba8694186b410779d98331944 (diff) | |
download | perl-46167d76640b8ae760665fc0fd2f94ac4760438c.tar.gz |
regcomp.sym: longj field is a boolean
The comments could lead one to thinking one could specify any of the
argument fields that nodes can have. But in fact, the value is a
boolean, 0 meaning to use the normal offset field of all regnodes; and 1
meaning to use the ARG field that some regnodes have. If a regnode had
more than just the one argument field, the one that corresponds to that
would be used.
This commit enforces that, and changes regcomp.sym to not use '2',
which is misleading.
It clarifies the comments about this and what '.' means in the flags
field
Diffstat (limited to 'pod/perldebguts.pod')
-rw-r--r-- | pod/perldebguts.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perldebguts.pod b/pod/perldebguts.pod index 94b83fe278..080daac63f 100644 --- a/pod/perldebguts.pod +++ b/pod/perldebguts.pod @@ -737,8 +737,8 @@ will be lost. BRANCHJ off 1 1 BRANCH with long offset. # Special Case Regops - IFMATCH off 1 2 Succeeds if the following matches. - UNLESSM off 1 2 Fails if the following matches. + IFMATCH off 1 1 Succeeds if the following matches. + UNLESSM off 1 1 Fails if the following matches. SUSPEND off 1 1 "Independent" sub-RE. IFTHEN off 1 1 Switch, should be preceded by switcher. GROUPP num 1 Whether the group matched. |