- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
I wrote some stuff, and then I got this error, which doesn't even point to the new code I added, it's saying there's an error in the map configuration, but I didn't write any code for map config...So I have no idea where to look, besides the new code I added but I can't seem to find the cause of the error.
Edit: I did a brute force search (disabled each module one at a time) and found the error, I was missing an
But why would this cause the syntax error to be somewhere entirely else, and not just an error: missing endif block?
Or did it really parse that if statements' statements to extend all the way to mapconfig?
I wrote some stuff, and then I got this error, which doesn't even point to the new code I added, it's saying there's an error in the map configuration, but I didn't write any code for map config...So I have no idea where to look, besides the new code I added but I can't seem to find the cause of the error.
Edit: I did a brute force search (disabled each module one at a time) and found the error, I was missing an
endif
. But why would this cause the syntax error to be somewhere entirely else, and not just an error: missing endif block?
Or did it really parse that if statements' statements to extend all the way to mapconfig?