]> diplodocus.org Git - nmh/blobdiff - sbr/dtimep.l
seq_del.c: Move interface to own file.
[nmh] / sbr / dtimep.l
index bd36c64aaf7b459d373f579811a0090cbf67d5cf..68f0ea7be346ca64287b0112eba0e86f9193fba5 100644 (file)
 %n2500
 %a5000
 %{
 %n2500
 %a5000
 %{
-#include <h/nmh.h>
-#include <h/mh.h>
-#include <h/utils.h>
-#include <h/tws.h>
+#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.
 
   /* 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; }
                        --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 <sys/time.h>
 
 # ifdef HAVE_SYS_TIME_H
 #  include <sys/time.h>
@@ -382,7 +378,8 @@ nl      [ \t\n()]
  *  "%option nounput" which is flex-specific
  *  makefile hackery just to compile dtimep.c with different flags
  */
  *  "%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);
 }
 {
     unput(c);
 }