blob: ae89aafdae86c708311100b3ab607ad556255053 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- amiwm0.21pl2/lex.l
+++ amiwm0.21pl2/lex.l
@@ -1,5 +1,6 @@
+%option noyywrap
%{
#include <stdio.h>
#include "gram.h"
extern char *progname;
extern int ParseError;
--- amiwm0.21pl2/kbdlexer.l
+++ amiwm0.21pl2/kbdlexer.l
@@ -1,5 +1,6 @@
+%option noyywrap
%{
#include <X11/Xmu/CharSet.h>
#include <string.h>
#include "libami.h"
@@ -134,12 +135,9 @@ int parse_keyword(char *str, YYSTYPE *va
. { fprintf(stderr, "%s: illegal character \"%s\" ignored\n",
progname, yytext); }
%%
-#ifndef yywrap
-int yywrap() { return 1; }
-#endif
#undef input
#define input() ((*inptr)?(*inptr++):0)
#undef unput
#define unput(c) (*--inptr=c)
|