]> diplodocus.org Git - nmh/blobdiff - sbr/dtimep.l
mhbuildsbr.c: Flip logic, moving goto to then-block; no need for else.
[nmh] / sbr / dtimep.l
index e9dd815341f6b44512d227d98fbd3d1631a971af..238af8637584008b5df11887ad80a127833104a0 100644 (file)
@@ -11,6 +11,7 @@
 %a5000
 %{
 #include <h/nmh.h>
+#include <h/utils.h>
 #include <h/tws.h>
 
   /* Since we're looking at a string at a time, don't worry about
@@ -231,7 +232,7 @@ nl      [ \t\n()]
   char *cp;
   static struct tws tw; 
 
-  memset(&tw,0,sizeof(struct tws));
+  ZERO(&tw);
 
   lexhandle = yy_scan_string(lexstr);
 %}