aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/lex.c')
-rw-r--r--sys/cmd/rc/lex.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/cmd/rc/lex.c b/sys/cmd/rc/lex.c
index 06737ba..4325882 100644
--- a/sys/cmd/rc/lex.c
+++ b/sys/cmd/rc/lex.c
@@ -191,6 +191,14 @@ yylex(void)
put1('&');
return '&';
+ case '@':
+ put1('@');
+ return Tsubshell;
+
+ case '!':
+ put1('!');
+ return Tbang;
+
case '$':
if(nextis('#')){
put2('$','#');