chiark / gitweb /
Do not ignore errors from readdir.
[userv.git] / lexer.l
diff --git a/lexer.l b/lexer.l
index 17b757d9a12aa2669f3074a84c7774e2a156e574..d75ed270bbdab3688829c950cf1d428c8fa8fa20 100644 (file)
--- a/lexer.l
+++ b/lexer.l
@@ -230,6 +230,9 @@ local7 { lr_logfacility= LOG_LOCAL7; return tokv_syslog_local7; }
 read { return tokv_word_read; }
 write { return tokv_word_write; }
 \$ { return tokv_dollar; }
+stdin {  lr_max= lr_min= 0; return tokv_word_stdin; }
+stdout {  lr_max= lr_min= 1; return tokv_word_stdout; }
+stderr {  lr_max= lr_min= 2; return tokv_word_stderr; }
 \( { return tokv_openparen; }
 \) { return tokv_closeparen; }
 \! { return tokv_not; }