Wrong error messages

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
toms
Posts: 1717
Joined: November 6th, 2005, 2:15 pm

Wrong error messages

Post by toms »

If there are false #ifdefs or #endifs in a scenario, I always get such weird messages:
[event] tag in scenario.cfg line: ** is not closed
or:
[scenario tag in scenario.cfg line: ** is not closed
It isn´t a disaster because I check it out and if it´s not wrong with the tags I know what´s going on, but if it´d be right, I would find the bugs easier. :? [/quote]
First read, then think. Read again, think again. And then post!
scott
Posts: 5243
Joined: May 12th, 2004, 12:35 am
Location: San Pedro, CA

Post by scott »

The trick is that the preprocessor doesn't know what it doesn't know. It only follows the trail of what you give it, gets lost, and can't find its bearings until it hits a [/scenario] tag. But, if it's possible to do something about it, it would be good.
Hope springs eternal.
Wesnoth acronym guide.
Post Reply