X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b42bad5fdb20cefbafdcc2b3c90e191b4a231787..9f1e781a5c2beb9df943c832300a3f5bee1e4ed3:/sbr/dtimep.l diff --git a/sbr/dtimep.l b/sbr/dtimep.l index bd36c64a..68f0ea7b 100644 --- a/sbr/dtimep.l +++ b/sbr/dtimep.l @@ -10,10 +10,10 @@ %n2500 %a5000 %{ -#include -#include -#include -#include +#include "h/nmh.h" +#include "h/mh.h" +#include "h/utils.h" +#include "h/tws.h" /* Since we're looking at a string at a time, don't worry about * wrapping to the next buffer. @@ -156,10 +156,6 @@ static int day_map[] = { --cp; } #define SKIPTOA() { while ( !isalpha((unsigned char) *cp++) ) ; \ --cp; } -#define SKIPSP() { while ( isspace((unsigned char) *cp++) ) ; \ - --cp; } -#define SKIPTOSP() { while ( !isspace((unsigned char) *cp++) ) ; \ - --cp; } # ifdef HAVE_SYS_TIME_H # include @@ -382,7 +378,8 @@ nl [ \t\n()] * "%option nounput" which is flex-specific * makefile hackery just to compile dtimep.c with different flags */ -void dtimep_yyunput(int c) +void +dtimep_yyunput(int c) { unput(c); }