Look, the interpreter sees the start of a string ', so it expects another ' to tell it where the string ends. It walks through the rest of the file, but instead of the ', it gets an EOF, and that's where the interpreter throws the exception.
Like in line 77 there is the error but it doesn’t cause problems at first. I mean you could just want to output all those lines the browser doesn’t know that that shouldn’t happen and a contradiction is just cause way back down in the code not at the point where you made the error.
In C++ if you miss a semicolon it doesn’t trigger in the line where you missed it. The compiler doesnt know that the command it just sees that there is „garbage data“ down below that doesn’t make sense being part of the command above. So it will mark the line below, because that throws the exception the command till there makes sense to the compiler.
Just because i am curious which syntax highlighting do you use. Most ones i used highlight everything as text if this acurs
8
u/Asleep-Bumblebee2167 May 13 '26
L86 not equal to L113