diff options
author | jao <jao@gnu.org> | 2008-08-31 07:09:18 +0200 |
---|---|---|
committer | jao <jao@oblong.net> | 2008-08-31 07:09:18 +0200 |
commit | 0aa3d867ea3e8facdfc166ce446c197f39a2703d (patch) | |
tree | ddc8726dc56f792c5cc400ea1ca7fc3d12e7bdad /mixlib | |
parent | 637bc481a5d55e933cf37cf49ce7e0a50279db70 (diff) | |
download | mdk-0aa3d867ea3e8facdfc166ce446c197f39a2703d.tar.gz mdk-0aa3d867ea3e8facdfc166ce446c197f39a2703d.tar.bz2 |
mix_eval_scanner: clean up dead code and remove warning (input() not
used)
Diffstat (limited to 'mixlib')
-rw-r--r-- | mixlib/mix_eval_scanner.l | 17 |
1 files changed, 2 insertions, 15 deletions
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 |