summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--op.h1
-rw-r--r--toke.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/op.h b/op.h
index d9d53365e6..c01bf4d03d 100644
--- a/op.h
+++ b/op.h
@@ -696,6 +696,7 @@ struct token {
* E tr/E/R/, /E/
* f folded constant op
* F peg op for format
+ * g op was forced to be a word
* i if/unless modifier
* I if/elsif/unless statement
* K retired kid op
diff --git a/toke.c b/toke.c
index 0485df18f9..d5fbd0a4ca 100644
--- a/toke.c
+++ b/toke.c
@@ -1365,7 +1365,7 @@ S_force_word(pTHX_ register char *start, int token, int check_keyword, int allow
}
}
if (PL_madskills)
- curmad('B', newSVpvs( "forced" ));
+ curmad('g', newSVpvs( "forced" ));
NEXTVAL_NEXTTOKE.opval
= (OP*)newSVOP(OP_CONST,0,
S_newSV_maybe_utf8(aTHX_ PL_tokenbuf, len));