aboutsummaryrefslogtreecommitdiff
path: root/gcc/genautomata.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genautomata.c')
-rw-r--r--gcc/genautomata.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index 88d358c..ff024b6 100644
--- a/gcc/genautomata.c
+++ b/gcc/genautomata.c
@@ -1603,7 +1603,7 @@ gen_regexp_repeat (const char *str)
return regexp;
}
else
- return gen_regexp_el (str);
+ return gen_regexp_el (repeat_vect[0]);
}
/* Parse reservation STR which possibly contains separator '+'. */
@@ -1629,7 +1629,7 @@ gen_regexp_allof (const char *str)
return allof;
}
else
- return gen_regexp_repeat (str);
+ return gen_regexp_repeat (allof_vect[0]);
}
/* Parse reservation STR which possibly contains separator '|'. */
@@ -1655,7 +1655,7 @@ gen_regexp_oneof (const char *str)
return oneof;
}
else
- return gen_regexp_allof (str);
+ return gen_regexp_allof (oneof_vect[0]);
}
/* Parse reservation STR which possibly contains separator ','. */
@@ -1680,7 +1680,7 @@ gen_regexp_sequence (const char *str)
return sequence;
}
else
- return gen_regexp_oneof (str);
+ return gen_regexp_oneof (sequence_vect[0]);
}
/* Parse construction reservation STR. */
@@ -1688,7 +1688,7 @@ static regexp_t
gen_regexp (const char *str)
{
reserv_str = str;
- return gen_regexp_sequence (str);;
+ return gen_regexp_sequence (str);
}
/* Process a DEFINE_RESERVATION.