From 24795de83b9f2b24bd128707770387bcddad4367 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 27 Apr 2007 05:21:13 +0000 Subject: Fix the yyunput warning message --- hcid/lexer.l | 2 ++ rfcomm/lexer.l | 2 ++ 2 files changed, 4 insertions(+) diff --git a/hcid/lexer.l b/hcid/lexer.l index f4559494..7d9d6ada 100644 --- a/hcid/lexer.l +++ b/hcid/lexer.l @@ -51,6 +51,8 @@ int yyerror(char *str); %} +%option nounput + hex 0x[0-9a-zA-Z]+ num [0-9]+ kword [A-Za-z0-9\_\-]+ diff --git a/rfcomm/lexer.l b/rfcomm/lexer.l index 70e1be81..9988243f 100644 --- a/rfcomm/lexer.l +++ b/rfcomm/lexer.l @@ -44,6 +44,8 @@ int yyerror(char *str); %} +%option nounput + space [ \t] linebreak \n comment \#.*\n -- cgit