summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-03-16 09:48:35 +0000
committerNicholas Clark <nick@ccl4.org>2010-05-27 10:30:01 +0100
commit20832bc55b5c8a1f61c1270e40b964ff1488847d (patch)
tree659b4a5bae28f99c1d21861113fcd51069ca4a66
parent1404b48744cfa915e3f54775feb4e9b6c10f3b91 (diff)
downloadperl-20832bc55b5c8a1f61c1270e40b964ff1488847d.tar.gz
Remove stray tab character in definition for VERB.
As VERB is "Used only for the type field of verbs" this is only a cosmetic change, causing that correct description to appear in the comment in regnodes.h. The change to regarglen doesn't affect anything, as the VERB type is never actually used for compiled nodes.
-rw-r--r--regcomp.sym2
-rw-r--r--regnodes.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/regcomp.sym b/regcomp.sym
index b0b9faff7e..d746fc9a62 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -175,7 +175,7 @@ ACCEPT ENDLIKE, parno 1 Accepts the current matched string.
#*Verbs With Arguments
-VERB VERB, no-sv 1 Used only for the type field of verbs
+VERB VERB, no-sv 1 Used only for the type field of verbs
PRUNE VERB, no-sv 1 Pattern fails at this startpoint if no-backtracking through this
MARKPOINT VERB, no-sv 1 Push the current location for rollback by cut.
SKIP VERB, no-sv 1 On failure skip forward (to the mark) before retrying
diff --git a/regnodes.h b/regnodes.h
index 79de061fb6..d87acfd4b5 100644
--- a/regnodes.h
+++ b/regnodes.h
@@ -85,7 +85,7 @@
#define ENDLIKE 73 /* 0x49 Used only for the type field of verbs */
#define OPFAIL 74 /* 0x4a Same as (?!) */
#define ACCEPT 75 /* 0x4b Accepts the current matched string. */
-#define VERB 76 /* 0x4c no-sv 1 Used only for the type field of verbs */
+#define VERB 76 /* 0x4c Used only for the type field of verbs */
#define PRUNE 77 /* 0x4d Pattern fails at this startpoint if no-backtracking through this */
#define MARKPOINT 78 /* 0x4e Push the current location for rollback by cut. */
#define SKIP 79 /* 0x4f On failure skip forward (to the mark) before retrying */
@@ -363,7 +363,7 @@ static const U8 regarglen[] = {
0, /* ENDLIKE */
0, /* OPFAIL */
EXTRA_SIZE(struct regnode_1), /* ACCEPT */
- 0, /* VERB */
+ EXTRA_SIZE(struct regnode_1), /* VERB */
EXTRA_SIZE(struct regnode_1), /* PRUNE */
EXTRA_SIZE(struct regnode_1), /* MARKPOINT */
EXTRA_SIZE(struct regnode_1), /* SKIP */