Changeset - r18410:1bd03690d14c
[Not reviewed]
master
0 2 0
truebrain - 13 years ago 2011-11-19 15:42:40
truebrain@openttd.org
(svn r23262) -Fix: one annoying typo in a squirrel_export marker line
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/ai/ai_instance.cpp
Show inline comments
 
@@ -19,13 +19,13 @@
 
#include "ai_config.hpp"
 
#include "ai_storage.hpp"
 
#include "ai_instance.hpp"
 
#include "ai_gui.hpp"
 

	
 
/* 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_airport.hpp.sq"
 
#include "api/ai_base.hpp.sq"
 
#include "api/ai_basestation.hpp.sq"
 
#include "api/ai_bridge.hpp.sq"
 
#include "api/ai_bridgelist.hpp.sq"
src/ai/api/squirrel_export.sh
Show inline comments
 
@@ -70,13 +70,13 @@ echo "
 
{ }
 
/.hpp.sq/ { next }
 
/squirrel_register_std/ { next }
 
/SQAIController_Register/ { print \$0; 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
 
	gsub(\"^.*/\", \"\")
 
	split(\"`grep '^void SQAI.*_Register(Squirrel \*engine)$' *.hpp.sq | sed 's/:.*$//' | sort | uniq | tr -d '\r' | tr '\n' ' '`\", files, \" \")
 

	
 
	for (i = 1; files[i] != \"\"; i++) {
 
		print \"#include \\\"api/\" files[i] \"\\\"\" \$0
0 comments (0 inline, 0 general)