Robert Shearman rob@codeweavers.com writes:
I disagree. I had a resource file that had an error because I forgot to define "IDC_STATIC" to a number and all I got from wrc was an unhelpful "syntax error" that seemed to point to the wrong line. I ended up using the debugging option to find out what was causing this error. If you can suggest a better solution, I'd go for it.
Well, I don't know, but I have never had to resort to the parser debugging code for that sort of thing. In worst cases looking at the preprocessed file is normally enough to find the problem. It's true that line numbers are sometimes off in wrc errors, and that should clearly be fixed; but the parser debug stuff is not something that should be exposed to users. Do you still have the file that shows an unhelpful error? You should file a bug with it, and I'll have a look.