From: Thomas Wood Subject: [PATCH i-g-t] assembler: define YY_NO_INPUT to prevent unused symbol warnings Date: Thu, 6 Feb 2014 16:23:42 +0000 Message-ID: <1391703822-25819-1-git-send-email-thomas.wood@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) by gabe.freedesktop.org (Postfix) with ESMTP id 48ED8FB0CB for ; Thu, 6 Feb 2014 08:23:46 -0800 (PST) Received: by mail-we0-f175.google.com with SMTP id q59so1444419wes.6 for ; Thu, 06 Feb 2014 08:23:44 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Signed-off-by: Thomas Wood --- assembler/lex.l | 1 + 1 file changed, 1 insertion(+) diff --git a/assembler/lex.l b/assembler/lex.l index 4f1f961..81a52ba 100644 --- a/assembler/lex.l +++ b/assembler/lex.l @@ -12,6 +12,7 @@ extern char *input_filename; /* Locations */ int yycolumn = 1; +#define YY_NO_INPUT #define YY_USER_ACTION \ yylloc.first_line = yylloc.last_line = yylineno; \ yylloc.first_column = yycolumn; \ -- 1.8.5.3