1
0
Fork 0
flightgear/src/Scripting
mfranz e0b1d12a60 don't abort fgfs only because a nasal script called a property function
with an invalid path, as in getprop("/sim/model/737") or x.getNode("f:1").
Forward sg's error message to the Nasal runtime error function instead, so
you get something like:

  Nasal runtime error: name must begin with alpha or '_'
    at /home/m/fgfs/Base.local/Nasal/props.nas, line 30

Unfortunately, the location points to the line where the ghost wrapper
sits, rather than the offending script line.
2006-05-23 18:55:38 +00:00
..
.cvsignore Added simple proof-of-concept support for running PSL scripts from 2003-01-11 16:30:32 +00:00
Makefile.am screenPrint() is obsolete. Use screen.log.write() for the same purpose, 2006-02-13 19:46:03 +00:00
nasal-props.cxx don't abort fgfs only because a nasal script called a property function 2006-05-23 18:55:38 +00:00
NasalSys.cxx don't abort fgfs only because a nasal script called a property function 2006-05-23 18:55:38 +00:00
NasalSys.hxx add optional SGPropertyNode* argument to NasalSys::createModule. This is 2006-04-27 15:56:51 +00:00