aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/igen/ld-decode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/igen/ld-decode.c b/sim/igen/ld-decode.c
index d1c9046..51bb3e0 100644
--- a/sim/igen/ld-decode.c
+++ b/sim/igen/ld-decode.c
@@ -131,6 +131,8 @@ load_decode_table (const char *file_name)
break;
}
chp = skip_to_separator (chp, ",");
+ if (*chp == ',')
+ ++chp;
chp = skip_spaces (chp);
}
}