summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/otps/otp-lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/otps/otp-lexer.l')
-rw-r--r--Build/source/texk/web2c/otps/otp-lexer.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/otps/otp-lexer.l b/Build/source/texk/web2c/otps/otp-lexer.l
index 8f6048d321c..6f4905c5f95 100644
--- a/Build/source/texk/web2c/otps/otp-lexer.l
+++ b/Build/source/texk/web2c/otps/otp-lexer.l
@@ -25,10 +25,13 @@ along with Omega; if not, write to the Free Software Foundation, Inc.,
%option never-interactive
-%{
+%top{
#include "routines.h"
#include "yystype.h"
#include "otp-parser.h"
+}
+
+%{
#define YY_NO_UNPUT
#define OTP_MAXCODE 0xFFFF
int line_number = 1;