From 562509761efc1dc4361d13e4f95e093f80b533da Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Fri, 24 Mar 2006 21:11:56 +0000 Subject: Compilation warnings fixed. git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-5 --- mixlib/mix_scanner.l | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'mixlib/mix_scanner.l') diff --git a/mixlib/mix_scanner.l b/mixlib/mix_scanner.l index 6150007..82b860e 100644 --- a/mixlib/mix_scanner.l +++ b/mixlib/mix_scanner.l @@ -1,7 +1,7 @@ /* -*-c-*- -------------- mix_scanner.l : * Lexical scanner used by mix_parser_t * ------------------------------------------------------------------ - * Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc. + * Copyright (C) 2000, 2003, 2004, 2006 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 @@ -71,19 +71,19 @@ } while (FALSE) -#define ENTER_EVAL() \ - do { \ - if (yytext[0] != '*') \ - { \ - expr_val = MIX_WORD_ZERO; \ - yyless (0); \ - } \ - else \ - { \ - expr_val = mix_short_to_word_fast (parser->loc_count); \ - yyless (1); \ - } \ - yy_push_state (EVAL); \ +#define ENTER_EVAL() \ + do { \ + if (yytext[0] != '*') \ + { \ + expr_val = MIX_WORD_ZERO; \ + yyless (0); \ + } \ + else \ + { \ + expr_val = mix_short_to_word_fast (parser->loc_count); \ + yyless (1); \ + } \ + yy_push_state (EVAL); \ } while (FALSE) #define ENTER_WEVAL(s) \ @@ -95,14 +95,14 @@ yy_push_state (WEVAL); \ } while (FALSE) -#define RETURN_ERROR(error, comment) \ - do { \ - char c; \ - mix_parser_log_error (parser,error,lineno,comment,FALSE); \ - while ( (c = input ()) != '\n' && c != EOF ) ; \ - if ( c == EOF ) return error; else ++lineno; \ - RESET (); \ - BEGIN (INITIAL); \ +#define RETURN_ERROR(error, comment) \ + do { \ + int c; \ + mix_parser_log_error (parser, error, lineno, comment, FALSE); \ + while ( (c = input ()) != '\n' && c != EOF ) ; \ + if ( c == EOF ) return error; else ++lineno; \ + RESET (); \ + BEGIN (INITIAL); \ } while (FALSE) -- cgit v1.2.3