ref: f59a05d8213d214ff6d8b63f870936b9217dd0ea
parent: b5edd86da2f935e6b8e77d60762fad31a263432a
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Jan 18 10:50:32 EST 2018
Remove unreachable goto Error() is not supposed to return.
--- a/as/parser.c
+++ b/as/parser.c
@@ -141,10 +141,8 @@
n = strlen(buff);
if (n == 0)
goto repeat;
- if (buff[n-1] != '\n') {
+ if (buff[n-1] != '\n')
error("line too long");
- goto repeat;
- }
buff[n-1] = '\0';
if (extract(buff, n, lp) == 0)