summaryrefslogtreecommitdiff
path: root/sh.l
diff options
context:
space:
mode:
Diffstat (limited to 'sh.l')
-rw-r--r--sh.l7
1 files changed, 7 insertions, 0 deletions
diff --git a/sh.l b/sh.l
index 539a251..c38ea7c 100644
--- a/sh.l
+++ b/sh.l
@@ -63,3 +63,10 @@ OPERATOR [()|;&<>]
[^ \t\n()|;&<>]+ { yylval.s = yytext; return WORD; }
{WHITESPACE} ;
+
+%%
+void sh_silence_warning(void)
+{
+ input();
+ yyunput(0, 0);
+}