diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | debug.c | 5 |
2 files changed, 9 insertions, 0 deletions
@@ -6,6 +6,10 @@ * dfa.c (parse_bracket_exp): Add a cast to quiet a warning. * regex.c: Correctly bracket include of <sys/param.h>. + Unrelated: + + * debug.c (find_rule): Add a FIXME comment. + 2013-12-03 John E. Malmberg <wb8tyw@qsl.net> * io.c (redirect): Add additional VMS error code to check. @@ -2068,6 +2068,11 @@ find_rule(char *src, long lineno) { INSTRUCTION *rp; + /* + * FIXME: The check for zero and code that goes with it + * are probably fragile. A break with no arguments can + * cause this in certain cases. Try to review how this works. + */ if (lineno == 0) { for (rp = rule_list->nexti; rp != NULL; rp = rp->nexti) { if ((rp - 1)->source_file == src && (rp - 1)->source_line > 0) |