summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/lex.c')
-rw-r--r--bin/ksh/lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/lex.c b/bin/ksh/lex.c
index c33a0b93354..31af92c67ec 100644
--- a/bin/ksh/lex.c
+++ b/bin/ksh/lex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.c,v 1.69 2016/04/27 12:46:23 naddy Exp $ */
+/* $OpenBSD: lex.c,v 1.70 2017/07/04 07:29:32 anton Exp $ */
/*
* lexical analysis and source input
@@ -385,7 +385,7 @@ yylex(int cf)
/* If this is a trim operation,
* treat (,|,) specially in STBRACE.
*/
- if (c == '#' || c == '%') {
+ if (c == '#' || c == '%' || c == '/') {
ungetsc(c);
PUSH_STATE(STBRACE);
} else {