aboutsummaryrefslogtreecommitdiff
path: root/src/rc-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-lex.l')
-rw-r--r--src/rc-lex.l8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/rc-lex.l b/src/rc-lex.l
index 308989b..f92d2d1 100644
--- a/src/rc-lex.l
+++ b/src/rc-lex.l
@@ -1,9 +1,9 @@
-%{
+%top{
/*
rcfile.l
This file is part of GNU Anubis.
- Copyright (C) 2003-2014 The Anubis Team.
+ Copyright (C) 2003-2024 The Anubis Team.
GNU Anubis is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -29,7 +29,9 @@
#include "extern.h"
#include "rcfile.h"
#include "rc-gram.h"
+}
+%{
struct string_list
{
struct string_list *next;
@@ -87,6 +89,8 @@ advance_line ()
%}
+%option noinput
+
%x STR LIT ML
WS [ \t][ \t]*

Return to:

Send suggestions and report system problems to the System administrator.