From 0fedbe9d9d17745ff3d78753bafbd70cfc95b529 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 19 Jan 2010 00:35:04 -0500 Subject: Silence some compiler warnings in flex-generated code. --- dimension/lexer.l | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dimension') diff --git a/dimension/lexer.l b/dimension/lexer.l index 2c75a41..776dd32 100644 --- a/dimension/lexer.l +++ b/dimension/lexer.l @@ -100,6 +100,11 @@ int token; size_t string_length = 0, string_extent = 8; unsigned long wchar; + +/* Silence some warnings */ +(void)yyunput; +(void)input; +(void)yy_top_state; %} (?# Comments) -- cgit v1.2.3