summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-12-09 11:12:45 +0100
committerYves Orton <demerphq@gmail.com>2022-12-09 16:19:29 +0100
commit6a6e5d037dad0702bc219f8265505037e1772552 (patch)
tree3f8e27eb6a757da916a8a6b86c665dc1f2caa7fb /regcomp.sym
parent51fd43e9ceb9ea5949c909b40aed4dffd3e152cc (diff)
downloadperl-6a6e5d037dad0702bc219f8265505037e1772552.tar.gz
regex engine - cleanup internal tabs and ws (use -w to ignore)
Having internal tabs causes confusion in diffs and reviews. In the following patch I will move a lot of code around, creating new files and they will all be whitespace clean: no trailing whitespace, tabs expanded to the next tabstop properly, and no trailing empty lines at the bottom of the file. This patch prepares for that split, and future splits and changes to the regex engine by precleaning the main regex engine files with the same rules. It should show no changes under '-w'.
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym10
1 files changed, 5 insertions, 5 deletions
diff --git a/regcomp.sym b/regcomp.sym
index ddc8397daf..a552cc3ea1 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -1,6 +1,6 @@
# regcomp.sym
#
-# File has two sections, divided by a line of dashes '-'.
+# File has two sections, divided by a line of dashes '-'.
#
# Lines beginning with # are ignored, except for those that start with #*
# which are included in pod/perldebguts.pod. # within a line may be part
@@ -10,7 +10,7 @@
#
# Note that the order in this file is important.
#
-# Format for first section:
+# Format for first section:
# NAME \s+ TYPE, arg-description [struct regnode suffix] [flags] [longjump] ; DESCRIPTION
# arg-description is currently unused
# suffix is appended to 'struct_regnode_' giving which one to use. If empty,
@@ -278,8 +278,8 @@ GOSUB GOSUB, num/ofs 2L ; recurse to paren arg1 at (signed) ofs ar
#*Special conditionals
GROUPPN GROUPPN, no-sv 1 ; Whether the group matched.
-INSUBP INSUBP, num 1 ; Whether we are in a specific recurse.
-DEFINEP DEFINEP, none 1 ; Never execute directly.
+INSUBP INSUBP, num 1 ; Whether we are in a specific recurse.
+DEFINEP DEFINEP, none 1 ; Never execute directly.
#*Backtracking Verbs
ENDLIKE ENDLIKE, none ; Used only for the type field of verbs
@@ -288,7 +288,7 @@ ACCEPT ENDLIKE, no-sv/num 2L ; Accepts the current matched string, wit
#*Verbs With Arguments
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
+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
COMMIT VERB, no-sv 1 ; Pattern fails outright if backtracking through this