summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
authorAdrian Negreanu <groleo@gmail.com>2019-04-11 10:35:17 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-05-04 15:02:03 (GMT)
commit49c97e860a97615995eed4f58dec58d9a2a9339f (patch)
treecf013d613b150f3f070cf6ffed09ac617295383c /src/declinfo.l
parent8412f4df29bbaede16a7f38deac363a4fbf81d89 (diff)
downloadDoxygen-49c97e860a97615995eed4f58dec58d9a2a9339f.zip
Doxygen-49c97e860a97615995eed4f58dec58d9a2a9339f.tar.gz
Doxygen-49c97e860a97615995eed4f58dec58d9a2a9339f.tar.bz2
declinfo.l: group flex options toghether
Diffstat (limited to 'src/declinfo.l')
-rw-r--r--src/declinfo.l8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/declinfo.l b/src/declinfo.l
index a91f832..653a251 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -16,6 +16,8 @@
*/
%option never-interactive
%option prefix="declinfoYY"
+%option nounput
+%option noyywrap
%{
@@ -33,6 +35,7 @@
#define YY_NO_INPUT 1
#define YY_NO_UNISTD_H 1
+#define YY_NEVER_INTERACTIVE 1
/* -----------------------------------------------------------------
*
@@ -80,8 +83,6 @@ static void addTypeName()
name.resize(0);
}
-#define YY_NEVER_INTERACTIVE 1
-
/* -----------------------------------------------------------------
*/
#undef YY_INPUT
@@ -103,9 +104,6 @@ static int yyread(char *buf,int max_size)
B [ \t]
ID "$"?([a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF]*)|(@[0-9]+)
-%option nounput
-%option noyywrap
-
%x Start
%x Template
%x ReadArgs