Skip to content
Snippets Groups Projects
Commit 7c95f1c4 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed typo.

Rev: src/docode.c:1.64
parent 271a6bf7
No related branches found
No related tags found
Loading
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\*/ \*/
/**/ /**/
#include "global.h" #include "global.h"
RCSID("$Id: docode.c,v 1.63 2000/01/04 01:29:11 grubba Exp $"); RCSID("$Id: docode.c,v 1.64 2000/01/04 01:32:04 grubba Exp $");
#include "las.h" #include "las.h"
#include "program.h" #include "program.h"
#include "language.h" #include "language.h"
...@@ -873,6 +873,7 @@ static int do_docode2(node *n,int flags) ...@@ -873,6 +873,7 @@ static int do_docode2(node *n,int flags)
f_aggregate(cases); f_aggregate(cases);
order=get_switch_order(sp[-1].u.array); order=get_switch_order(sp[-1].u.array);
if (!num_parse_error) {
/* Check for cases inside a range */ /* Check for cases inside a range */
for(e=0; e<cases-1; e++) for(e=0; e<cases-1; e++)
{ {
...@@ -888,6 +889,7 @@ static int do_docode2(node *n,int flags) ...@@ -888,6 +889,7 @@ static int do_docode2(node *n,int flags)
} }
} }
} }
}
if(current_switch_default < 0) if(current_switch_default < 0)
current_switch_default = ins_label(-1); current_switch_default = ins_label(-1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment