summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.y b/parse.y
index 39ac6f6f60..cf0687609a 100644
--- a/parse.y
+++ b/parse.y
@@ -3398,8 +3398,6 @@ yylex()
newtok();
c = nextc();
switch (c) {
- case '~': /* $~: match-data */
- /* fall through */
case '_': /* $_: last read line string */
c = nextc();
if (is_identchar(c)) {
@@ -3409,7 +3407,9 @@ yylex()
}
pushback(c);
c = '_';
- local_cnt('_');
+ /* fall through */
+ case '~': /* $~: match-data */
+ local_cnt(c);
/* fall through */
case '*': /* $*: argv */
case '$': /* $$: pid */