diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-02-25 06:11:36 -0500 | 
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-02-25 06:11:36 -0500 | 
| commit | 84a36b80e80085ce00b107a8f12f5ed0e0297b84 (patch) | |
| tree | 8ee39157357b436f5e212ac16a846cd93cef91a0 | |
| parent | aad7001ffd7dc9afa95151de8250862a8a25dcc0 (diff) | |
| download | bw-atari8-tools-84a36b80e80085ce00b107a8f12f5ed0e0297b84.tar.gz | |
listamsb: fix line number out of order/rage detection.
| -rw-r--r-- | listamsb.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -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 | 
