aboutsummaryrefslogtreecommitdiffstats
path: root/troff/troff.d/dhtml
diff options
context:
space:
mode:
Diffstat (limited to 'troff/troff.d/dhtml')
-rw-r--r--troff/troff.d/dhtml/dhtml.l2
-rw-r--r--troff/troff.d/dhtml/lib.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/troff/troff.d/dhtml/dhtml.l b/troff/troff.d/dhtml/dhtml.l
index c99db26a88a1..ad7d1c72be65 100644
--- a/troff/troff.d/dhtml/dhtml.l
+++ b/troff/troff.d/dhtml/dhtml.l
@@ -32,6 +32,8 @@
#include "main.h"
static int i0;
%}
+%option nounput
+%option noinput
%x X FONT_NUM FONT_NAM T X_X LINK ULINK ANCHOR
WS [ ]
NWS [^ \n]
diff --git a/troff/troff.d/dhtml/lib.c b/troff/troff.d/dhtml/lib.c
index 251223627e05..90018f329b02 100644
--- a/troff/troff.d/dhtml/lib.c
+++ b/troff/troff.d/dhtml/lib.c
@@ -33,6 +33,7 @@
#include <string.h>
#include "main.h"
#include "bst.h"
+#include "lib.h"
void * /* pointer to \0 terminated file contents */
file2ram(char *p, /* path to file */