Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2005:
[Freeciv-Dev] (PR#13023) more error messages for scripts
Home

[Freeciv-Dev] (PR#13023) more error messages for scripts

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13023) more error messages for scripts
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 9 May 2005 23:22:38 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13023 >

Now I get a message like:

[string "..."]:55: `=' expected near `size'

which is slightly useful but doesn't really tell where the error is.
Line 55 is the error but in a scenario script this isn't very helpful
since it doesn't correspond to file line numbers at all.

Is it possible to output the line of lua code itself in this case?  I
think that would be sufficient to track down all script errors.

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13023) more error messages for scripts, Jason Short <=