mirror of
https://github.com/nanochess/pretty6502.git
synced 2024-12-27 00:29:18 +00:00
Solved bug in comment location for TMS9900 mode
This commit is contained in:
parent
e410f6f1cd
commit
f1fa133e06
@ -875,7 +875,9 @@ int main(int argc, char *argv[])
|
|||||||
p2 = p1;
|
p2 = p1;
|
||||||
while (p2 - 1 >= p && isspace(*(p2 - 1)))
|
while (p2 - 1 >= p && isspace(*(p2 - 1)))
|
||||||
p2--;
|
p2--;
|
||||||
if (p2 == p && p1 - p == prev_comment_original_location) {
|
if (processor == P_TMS9900 && p2 == p && *p1 == '*') {
|
||||||
|
request = 0; /* Cannot be other */
|
||||||
|
} else if (p2 == p && p1 - p == prev_comment_original_location) {
|
||||||
request = prev_comment_final_location;
|
request = prev_comment_final_location;
|
||||||
} else {
|
} else {
|
||||||
prev_comment_original_location = p1 - p;
|
prev_comment_original_location = p1 - p;
|
||||||
|
Loading…
Reference in New Issue
Block a user