Finding line number of warnings

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Finding line number of warnings

Cerin
When I run my script, I see lots of messages like:

    WARNING: Ignoring unknown variable 'engagement_angle'.
    WARNING: Ignoring unknown variable 'engagement_angle'.
    WARNING: Ignoring unknown variable 'engagement_angle'.
    WARNING: Ignoring unknown variable 'engagement_angle'.
    WARNING: Ignoring unknown variable 'engagement_angle'.

Unfortunately, I use the variable "engagement_angle" in many modules. Is there any way to find make OpenSCAD report the line number along with the warning message?

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Finding line number of warnings

MichaelAtOz
Administrator
It's on the list.
Needs some redesign to be done first.
Admin - PM me if you need anything,
or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!