summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-10-12 18:41:53 +0000
committerrubidium <rubidium@openttd.org>2014-10-12 18:41:53 +0000
commit771dcf3b7b15f58e1d6fb2795e7df3c00ebf2809 (patch)
treee7c1e9afe60baf165648954cde2110ad598aefbd /src/3rdparty/squirrel
parentfddeeb5e49f5daee49d79210dcfa1c845ff4a0d5 (diff)
downloadopenttd-771dcf3b7b15f58e1d6fb2795e7df3c00ebf2809.tar.xz
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
Diffstat (limited to 'src/3rdparty/squirrel')
-rw-r--r--src/3rdparty/squirrel/include/squirrel.h57
-rw-r--r--src/3rdparty/squirrel/squirrel/sqapi.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqbaselib.cpp10
-rw-r--r--src/3rdparty/squirrel/squirrel/sqclass.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqcompiler.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqdebug.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqfuncstate.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqlexer.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqmem.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqobject.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqstate.cpp12
-rw-r--r--src/3rdparty/squirrel/squirrel/sqtable.cpp4
-rw-r--r--src/3rdparty/squirrel/squirrel/sqtable.h8
-rw-r--r--src/3rdparty/squirrel/squirrel/sqvm.cpp4
14 files changed, 64 insertions, 63 deletions
diff --git a/src/3rdparty/squirrel/include/squirrel.h b/src/3rdparty/squirrel/include/squirrel.h
index adb2390fc..87e0ac0d6 100644
--- a/src/3rdparty/squirrel/include/squirrel.h
+++ b/src/3rdparty/squirrel/include/squirrel.h
@@ -1,33 +1,32 @@
/*
-Copyright (c) 2003-2011 Alberto Demichelis
-
-This software is provided 'as-is', without any
-express or implied warranty. In no event will the
-authors be held liable for any damages arising from
-the use of this software.
-
-Permission is granted to anyone to use this software
-for any purpose, including commercial applications,
-and to alter it and redistribute it freely, subject
-to the following restrictions:
-
- 1. The origin of this software must not be
- misrepresented; you must not claim that
- you wrote the original software. If you
- use this software in a product, an
- acknowledgment in the product
- documentation would be appreciated but is
- not required.
-
- 2. Altered source versions must be plainly
- marked as such, and must not be
- misrepresented as being the original
- software.
-
- 3. This notice may not be removed or
- altered from any source distribution.
-
-*/
+ * Copyright (c) 2003-2011 Alberto Demichelis
+ *
+ * This software is provided 'as-is', without any
+ * express or implied warranty. In no event will the
+ * authors be held liable for any damages arising from
+ * the use of this software.
+ *
+ * Permission is granted to anyone to use this software
+ * for any purpose, including commercial applications,
+ * and to alter it and redistribute it freely, subject
+ * to the following restrictions:
+ *
+ * 1. The origin of this software must not be
+ * misrepresented; you must not claim that
+ * you wrote the original software. If you
+ * use this software in a product, an
+ * acknowledgment in the product
+ * documentation would be appreciated but is
+ * not required.
+ *
+ * 2. Altered source versions must be plainly
+ * marked as such, and must not be
+ * misrepresented as being the original
+ * software.
+ *
+ * 3. This notice may not be removed or
+ * altered from any source distribution.
+ */
#ifndef _SQUIRREL_H_
#define _SQUIRREL_H_
diff --git a/src/3rdparty/squirrel/squirrel/sqapi.cpp b/src/3rdparty/squirrel/squirrel/sqapi.cpp
index 04718385b..8374f7f31 100644
--- a/src/3rdparty/squirrel/squirrel/sqapi.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqapi.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqbaselib.cpp b/src/3rdparty/squirrel/squirrel/sqbaselib.cpp
index 5281ec2ab..86a1b1185 100644
--- a/src/3rdparty/squirrel/squirrel/sqbaselib.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqbaselib.cpp
@@ -1,8 +1,10 @@
/*
- see copyright notice in squirrel.h
-*/
-/* Needs to be first due to a squirrel header defining type() and type()
- * being used in some versions of the headers included by algorithm. */
+ * see copyright notice in squirrel.h
+ */
+/*
+ * Needs to be first due to a squirrel header defining type() and type()
+ * being used in some versions of the headers included by algorithm.
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqclass.cpp b/src/3rdparty/squirrel/squirrel/sqclass.cpp
index c62cfaf44..aa1bca044 100644
--- a/src/3rdparty/squirrel/squirrel/sqclass.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqclass.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqcompiler.cpp b/src/3rdparty/squirrel/squirrel/sqcompiler.cpp
index 9c4b547e9..2cc5f3d34 100644
--- a/src/3rdparty/squirrel/squirrel/sqcompiler.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqcompiler.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqdebug.cpp b/src/3rdparty/squirrel/squirrel/sqdebug.cpp
index 69a781aed..74272e432 100644
--- a/src/3rdparty/squirrel/squirrel/sqdebug.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqdebug.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqfuncstate.cpp b/src/3rdparty/squirrel/squirrel/sqfuncstate.cpp
index 47c553abc..5415b566e 100644
--- a/src/3rdparty/squirrel/squirrel/sqfuncstate.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqfuncstate.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqlexer.cpp b/src/3rdparty/squirrel/squirrel/sqlexer.cpp
index d1d934920..77c487a26 100644
--- a/src/3rdparty/squirrel/squirrel/sqlexer.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqlexer.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqmem.cpp b/src/3rdparty/squirrel/squirrel/sqmem.cpp
index 4ab8db44b..5c1b3966a 100644
--- a/src/3rdparty/squirrel/squirrel/sqmem.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqmem.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqobject.cpp b/src/3rdparty/squirrel/squirrel/sqobject.cpp
index 36e72b48d..d48baca1e 100644
--- a/src/3rdparty/squirrel/squirrel/sqobject.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqobject.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqstate.cpp b/src/3rdparty/squirrel/squirrel/sqstate.cpp
index 66693097d..35878e197 100644
--- a/src/3rdparty/squirrel/squirrel/sqstate.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqstate.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
@@ -487,10 +487,10 @@ void RefTable::AllocNodes(SQUnsignedInteger size)
//////////////////////////////////////////////////////////////////////////
//SQStringTable
/*
-* The following code is based on Lua 4.0 (Copyright 1994-2002 Tecgraf, PUC-Rio.)
-* http://www.lua.org/copyright.html#4
-* http://www.lua.org/source/4.0.1/src_lstring.c.html
-*/
+ * The following code is based on Lua 4.0 (Copyright 1994-2002 Tecgraf, PUC-Rio.)
+ * http://www.lua.org/copyright.html#4
+ * http://www.lua.org/source/4.0.1/src_lstring.c.html
+ */
SQStringTable::SQStringTable()
{
diff --git a/src/3rdparty/squirrel/squirrel/sqtable.cpp b/src/3rdparty/squirrel/squirrel/sqtable.cpp
index 8a54328b3..60146fe73 100644
--- a/src/3rdparty/squirrel/squirrel/sqtable.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqtable.cpp
@@ -1,6 +1,6 @@
/*
-see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqtable.h b/src/3rdparty/squirrel/squirrel/sqtable.h
index 2b4a3d4de..52d9ba41a 100644
--- a/src/3rdparty/squirrel/squirrel/sqtable.h
+++ b/src/3rdparty/squirrel/squirrel/sqtable.h
@@ -2,10 +2,10 @@
#ifndef _SQTABLE_H_
#define _SQTABLE_H_
/*
-* The following code is based on Lua 4.0 (Copyright 1994-2002 Tecgraf, PUC-Rio.)
-* http://www.lua.org/copyright.html#4
-* http://www.lua.org/source/4.0.1/src_ltable.c.html
-*/
+ * The following code is based on Lua 4.0 (Copyright 1994-2002 Tecgraf, PUC-Rio.)
+ * http://www.lua.org/copyright.html#4
+ * http://www.lua.org/source/4.0.1/src_ltable.c.html
+ */
#include "sqstring.h"
diff --git a/src/3rdparty/squirrel/squirrel/sqvm.cpp b/src/3rdparty/squirrel/squirrel/sqvm.cpp
index 464e57c72..973002b49 100644
--- a/src/3rdparty/squirrel/squirrel/sqvm.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqvm.cpp
@@ -1,6 +1,6 @@
/*
- see copyright notice in squirrel.h
-*/
+ * see copyright notice in squirrel.h
+ */
#include "../../../stdafx.h"