X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv.git;a=blobdiff_plain;f=language.i4;h=6227daa84950e0867ff1efa3356be32fed39e295;hp=d660b272834003edd2ad31dbc295dec9ef4e2c16;hb=6cab4f8fc3de7f4e4cd5ab5a1989017ea8e695fe;hpb=a68bf830adf982141dc41b44ee7a66dafd45ae9f diff --git a/language.i4 b/language.i4 index d660b27..6227daa 100644 --- a/language.i4 +++ b/language.i4 @@ -66,6 +66,7 @@ autovaldeftype(`readwrite') autovaldeftype(`string') autovaldeftype(`execmode') autovaldeftype(`ehandlemode') +autovaldeftype(`lookupquotemode') autovaldeftype(`builtinservice') autovaldeftype(`misc') autovaldeftype(`internal') @@ -80,6 +81,8 @@ define(`isdirectiveinternal',`isdirectivefn(`$1',`dfi_'makename(`$1'), `|tokt_internal$2')') define(`isexecmode',`isdirective(`$1',`|tokt_execmode')') define(`isehandlemode',`isdirective(`$1',`|tokt_ehandlemode')') +define(`islookupquotemode',`isdirectivefn(`$1',`dfg_lookupquotemode', + `|tokt_lookupquotemode')') define(`isfdwant',`isdirectivefn(`$1',`dfg_fdwant',`', `lr_fdwant_readwrite=$2; ')') define(`isflagpair',`isdirectivefn(`$1',`dfg_setflag',`', @@ -95,6 +98,8 @@ isexecmode(`execute-builtin') isehandlemode(`errors-to-stderr') isehandlemode(`errors-to-syslog') isehandlemode(`errors-to-file') +islookupquotemode(`include-lookup-quote-old') +islookupquotemode(`include-lookup-quote-new') isfdwant(`require-fd',`1') isfdwant(`allow-fd',`0') isfdwant(`null-fd',`0') @@ -233,6 +238,12 @@ autovalistype(`fdrange', `tokt_fdrange|tokr_punct') autovalistype(`fdstoend', `tokt_fdrange|tokr_punct') nametypelexpatexec(`dollar',`tokt_misc|tokr_punct',`\$',`') +define(singlefd,` +wordtypelexexec(`$1',`tokt_fdrange',` lr_max= lr_min= $2; ')') +singlefd(`stdin',`0'); +singlefd(`stdout',`1'); +singlefd(`stderr',`2'); + dnl non-word things autovalistype(`lwsp', `tokt_misc|tokr_nonstring') autovalistype(`newline', `tokt_misc|tokr_nonstring')