chiark / gitweb /
Parser fixes:
[userv.git] / tokens.h
index 4ea2ac9bc090b8b3d536e15ae766c34b061a048e..2ecf6a6ea2c5bd9ad7b59abee39778dc6f1dbe3a 100644 (file)
--- a/tokens.h
+++ b/tokens.h
@@ -141,19 +141,22 @@ enum tokens {
   toki_fdrange=                                     0x00000058,
   toki_fdstoend=                                    0x00000059,
   toki_dollar=                                      0x0000005a,
-  toki_lwsp=                                        0x0000005b,
-  toki_newline=                                     0x0000005c,
-  toki_barestring=                                  0x0000005d,
-  toki_quotedstring=                                0x0000005e,
-  toki_eof=                                         0x0000005f,
-  toki_quit=                                        0x00000060,
-  toki_error=                                       0x00000061,
-  toki_openparen=                                   0x00000062,
-  toki_closeparen=                                  0x00000063,
-  toki_not=                                         0x00000064,
-  toki_and=                                         0x00000065,
-  toki_or=                                          0x00000066,
-  toki_word_error=                                  0x00000067,
+  toki_word_stdin=                                  0x0000005b,
+  toki_word_stdout=                                 0x0000005c,
+  toki_word_stderr=                                 0x0000005d,
+  toki_lwsp=                                        0x0000005e,
+  toki_newline=                                     0x0000005f,
+  toki_barestring=                                  0x00000060,
+  toki_quotedstring=                                0x00000061,
+  toki_eof=                                         0x00000062,
+  toki_quit=                                        0x00000063,
+  toki_error=                                       0x00000064,
+  toki_openparen=                                   0x00000065,
+  toki_closeparen=                                  0x00000066,
+  toki_not=                                         0x00000067,
+  toki_and=                                         0x00000068,
+  toki_or=                                          0x00000069,
+  toki_word_error=                                  0x0000006a,
 
   tokv_word_reject=             tokt_directive|tokt_execmode|tokr_word|toki_word_reject,
   tokv_word_executefromdirectory=tokt_directive|tokt_execmode|tokr_word|toki_word_executefromdirectory,
@@ -245,6 +248,9 @@ enum tokens {
   tokv_fdrange=                 tokt_fdrange|tokr_punct|toki_fdrange,
   tokv_fdstoend=                tokt_fdrange|tokr_punct|toki_fdstoend,
   tokv_dollar=                  tokt_misc|tokr_punct|toki_dollar,
+  tokv_word_stdin=              tokt_fdrange|tokr_word|toki_word_stdin,
+  tokv_word_stdout=             tokt_fdrange|tokr_word|toki_word_stdout,
+  tokv_word_stderr=             tokt_fdrange|tokr_word|toki_word_stderr,
   tokv_lwsp=                    tokt_misc|tokr_nonstring|toki_lwsp,
   tokv_newline=                 tokt_misc|tokr_nonstring|toki_newline,
   tokv_barestring=              tokt_string|tokr_string|toki_barestring,