Skip to content

Add support for Minetest Lua Warnings.

Compare
Choose a tag to compare
@Poikilos Poikilos released this 13 Mar 01:36

This version supports warnings such as:

2020-03-12 15:58:20: WARNING[Server]: Undeclared global variable "default_model_def" accessed at ...n/../games/ENLIVEN/mods/codercore/tsm_pyramids/mummy.lua:63
2020-03-12 15:58:20: WARNING[Server]: Assignment to undeclared global "visual" inside a function at ...n/../games/ENLIVEN/mods/codercore/tsm_pyramids/mummy.lua:63.
2020-03-12 15:58:20: WARNING[Server]: Assignment to undeclared global "prop" inside a function at ...n/../games/ENLIVEN/mods/codercore/tsm_pyramids/mummy.lua:70.

Minetest examples:

./minetest >& err.txt
# running without a param looks for err.txt
outputinspector &

# example 2:
outputinspector ~/.minetest/debug.txt &

You can also use it with grep!

# example 3:
# ogrep "setting" -r ~/minetest/games/Bucket_Game/mods
  • See new non-root install instructions in the "Release Web Install" section in readme.md.

Known Issues

  • The above syntax would only work in cases where the paths are not truncated. See issue #5: "Automatically fix paths that contain elipses".

Added

  • Handle Minetest Lua Warnings.
  • Add Qt-style doxygen strings for constants pointing to parsing markers
    and their values.