From 4daf75cefd7ca514d0188bae3adc8f61a63940e5 Mon Sep 17 00:00:00 2001 From: herbert Date: Mon, 28 Mar 2005 14:13:59 +1000 Subject: Generalise setinputfile for use in read_profile/readcmdfile. --- src/input.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/input.h') diff --git a/src/input.h b/src/input.h index cf18242..2b24c86 100644 --- a/src/input.h +++ b/src/input.h @@ -40,6 +40,11 @@ /* PEOF (the end of file marker) is defined in syntax.h */ +enum { + INPUT_PUSH_FILE = 1, + INPUT_NOFILE_OK = 2, +}; + /* * The input line number. Input.c just defines this variable, and saves * and restores it when files are pushed and popped. The user of this @@ -56,7 +61,7 @@ int preadbuffer(void); void pungetc(void); void pushstring(char *, void *); void popstring(void); -void setinputfile(const char *, int); +int setinputfile(const char *, int); void setinputfd(int, int); void setinputstring(char *); void popfile(void); -- cgit 1.4.1 c/refs/?id=de4fbddfffe9c3cf39114608e3d3e5268c3cc2e4'>refs log tree commit diff
path: root/www/temp.causal.agency (unfollow)
Commit message (Expand)Author
2020-12-30Support unary + in orderJune McEnroe
2020-12-30Add postfix $ operator to bitJune McEnroe
2020-12-29Add make lexerJune McEnroe
2020-12-29Clean up C lexerJune McEnroe
2020-12-29Clean up hilex code somewhatJune McEnroe
2020-12-29Match lex/yacc %% %{ %} lines as MacroJune McEnroe
2020-12-29Match top-level C definitions as IdentifierTagJune McEnroe
2020-12-29Match C type declarations as IdentifierTagJune McEnroe
2020-12-29Match function-like macro definitions as IdentifierTagJune McEnroe
2020-12-29Reconfigure C macro start conditionsJune McEnroe
2020-12-29Document HTML class namesJune McEnroe
2020-12-29Rename Tag class to IdentifierTagJune McEnroe
2020-12-29Change HTML class from hi to hilexJune McEnroe
2020-12-29Add hilex HTML outputJune McEnroe