From 0aa3d867ea3e8facdfc166ce446c197f39a2703d Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 31 Aug 2008 07:09:18 +0200 Subject: mix_eval_scanner: clean up dead code and remove warning (input() not used) --- mixlib/mix_eval_scanner.l | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'mixlib') diff --git a/mixlib/mix_eval_scanner.l b/mixlib/mix_eval_scanner.l index 0f0e40a..9d937a1 100644 --- a/mixlib/mix_eval_scanner.l +++ b/mixlib/mix_eval_scanner.l @@ -1,7 +1,7 @@ /* -*-c-*- ------------------ mix_eval_scanner.l : * scanner used by mix_eval_t * ------------------------------------------------------------------ - * Copyright (C) 2000, 2004, 2006, 2007 Free Software Foundation, Inc. + * Copyright (C) 2000, 2004, 2006, 2007, 2008 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -44,28 +44,15 @@ } while (FALSE) static mix_word_t eval_binop_ (const gchar *op, mix_word_t x, mix_word_t y); - static int unput_word_ (mix_word_t word); -/* { */ -/* gchar *value; */ -/* gint k, result; */ -/* value = g_strdup_printf ("%s%ld", */ -/* mix_word_is_negative (word)? "-":"+", */ -/* mix_word_magnitude (word)); */ -/* result = strlen (value); */ -/* for (k = result - 1; k >= 0; --k) */ -/* unput (value[k]); */ -/* g_free (value); */ -/* return result; */ -/* } */ - %} %option nomain %option caseless %option array %option stack +%option noinput %option noyywrap %option noyy_top_state %option noreject -- cgit v1.2.3