diff options
author | Omar Polo <op@omarpolo.com> | 2021-06-16 14:43:16 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-06-16 14:43:16 +0000 |
commit | 74f0778b9ae93a700d8b0f759b05f24e69f54921 (patch) | |
tree | 7e67078f430fce32caf192e38dc91dc8a6accc5a /gmid.h | |
parent | 984c46a82e002089b3a4035ba34873ad9c75d973 (diff) |
drop the dependency on lex by implementing yylex by ourselves
The actual implementation is based off doas' parse.y. This gave us
various benefits, like cleaner code, \ to break long lines, better
handling of quotes etc...
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -310,12 +310,6 @@ void init_config(void); void free_config(void); void drop_priv(void); -/* provided by lex/yacc */ -extern FILE *yyin; -extern int yylineno; -extern int yyparse(void); -extern int yylex(void); - void yyerror(const char*, ...); int parse_portno(const char*); void parse_conf(const char*); |