aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--listamsb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/listamsb.c b/listamsb.c
index 11a449c..11c7efa 100644
--- a/listamsb.c
+++ b/listamsb.c
@@ -96,7 +96,8 @@ void unknown_token(int lineno, unsigned char byte, int ext) {
}
int next_line(void) {
- int ptr, lineno, was_ff, in_string, last_lineno = -1;
+ static int last_lineno = -1;
+ int ptr, lineno, was_ff, in_string;
unsigned char byte;
/* pointer to last token on the line, offset by whatever MEMLO