Author: petdance
Date: Sat Feb 23 20:40:24 2008
New Revision: 26036
Modified:
trunk/compilers/imcc/imcc.l
trunk/compilers/imcc/imclexer.c
Log:
Fix C90 complaints
Modified: trunk/compilers/imcc/imcc.l
==============================================================================
--- trunk/compilers/imcc/imcc.l (original)
+++ trunk/compilers/imcc/imcc.l Sat Feb 23 20:40:24 2008
@@ -1104,11 +1104,10 @@
m = find_macro(interp, name);
if (m) {
+ int i,c,start_cond;
+
macro_frame_t * const frame = new_frame(interp);
frame->params = &m->params;
- int c;
- int start_cond;
- int i;
/* When an error occurs, then report it as being in a macro */
frame->is_macro = 1;
Modified: trunk/compilers/imcc/imclexer.c
==============================================================================
--- trunk/compilers/imcc/imclexer.c (original)
+++ trunk/compilers/imcc/imclexer.c Sat Feb 23 20:40:24 2008
@@ -5730,11 +5730,10 @@
m = find_macro(interp, name);
if (m) {
+ int i,c,start_cond;
+
macro_frame_t * const frame = new_frame(interp);
frame->params = &m->params;
- int c;
- int start_cond;
- int i;
/* When an error occurs, then report it as being in a macro */
frame->is_macro = 1;