From 55d085c4ffb55f61c1083b27158d72f19d84619a Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 2 Oct 2011 17:23:26 +0200 Subject: [PATCH] remove classic input --- lib/hx509/sel-lex.l | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/hx509/sel-lex.l b/lib/hx509/sel-lex.l index 197eec781..bb7e8374c 100644 --- a/lib/hx509/sel-lex.l +++ b/lib/hx509/sel-lex.l @@ -63,9 +63,6 @@ struct hx_expr_input _hx509_expr_input; #undef YY_INPUT #define YY_INPUT(buf,res,maxsize) (res = lex_input(buf, maxsize)) -#undef input -#define input() lex_classic_input() - #undef ECHO %} @@ -141,16 +138,3 @@ lex_input(char *buf, int max_size) return n; } - -static int -lex_classic_inputinput(void) -{ - int n; - - n = _hx509_expr_input.length - _hx509_expr_input.offset; - if (n <= 0) - return YY_NULL; - - return _hx509_expr_input.buf[_hx509_expr_input.offset++]; -} - -- 2.11.4.GIT