iris

small scheme interpreter
git clone git://git.2f30.org/iris.git
Log | Files | Refs | LICENSE

commit 991d52591bbb6827a9ebe07daf994426aada724f
parent 061ae0fa9528d4aa417c0eb339401ab582b28729
Author: sin <sin@2f30.org>
Date:   Sun May 11 16:30:01 +0100

Remove initlexer()

Diffstat:
lexer.c | 7-------
lexer.h | 1-
repl.c | 1-
3 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/lexer.c b/lexer.c @@ -234,10 +234,3 @@ again: tok.e = NULL; return tok; } - -int -initlexer(void) -{ - state = State_Se; - return 0; -} diff --git a/lexer.h b/lexer.h @@ -21,4 +21,3 @@ struct tok { char *extractstring(struct tok *); struct tok gettok(FILE *fp); -int initlexer(void); diff --git a/repl.c b/repl.c @@ -8,7 +8,6 @@ lexertest(FILE *in) { struct tok tok; - initlexer(); do { tok = gettok(in); printtok(&tok);