mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-03 03:49:12 +00:00
(svn r23262) -Fix: one annoying typo in a squirrel_export marker line
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
#include "ai_gui.hpp"
|
#include "ai_gui.hpp"
|
||||||
|
|
||||||
/* Convert all AI related classes to Squirrel data.
|
/* Convert all AI related classes to Squirrel data.
|
||||||
* Note: this line a marker in squirrel_export.sh. Do not change! */
|
* Note: this line is a marker in squirrel_export.sh. Do not change! */
|
||||||
#include "api/ai_accounting.hpp.sq"
|
#include "api/ai_accounting.hpp.sq"
|
||||||
#include "api/ai_airport.hpp.sq"
|
#include "api/ai_airport.hpp.sq"
|
||||||
#include "api/ai_base.hpp.sq"
|
#include "api/ai_base.hpp.sq"
|
||||||
|
@@ -73,7 +73,7 @@ echo "
|
|||||||
/SQAIController_Register/ { print \$0; next }
|
/SQAIController_Register/ { print \$0; next }
|
||||||
/SQAI.*_Register/ { next }
|
/SQAI.*_Register/ { next }
|
||||||
|
|
||||||
/Note: this line a marker in squirrel_export.sh. Do not change!/ {
|
/Note: this line is a marker in squirrel_export.sh. Do not change!/ {
|
||||||
print \$0
|
print \$0
|
||||||
gsub(\"^.*/\", \"\")
|
gsub(\"^.*/\", \"\")
|
||||||
split(\"`grep '^void SQAI.*_Register(Squirrel \*engine)$' *.hpp.sq | sed 's/:.*$//' | sort | uniq | tr -d '\r' | tr '\n' ' '`\", files, \" \")
|
split(\"`grep '^void SQAI.*_Register(Squirrel \*engine)$' *.hpp.sq | sed 's/:.*$//' | sort | uniq | tr -d '\r' | tr '\n' ' '`\", files, \" \")
|
||||||
|
Reference in New Issue
Block a user