summaryrefslogtreecommitdiffstats
path: root/src/CBot/CBotToken.h
diff options
context:
space:
mode:
authorPiotr Dziwiński <piotrdz@gmail.com>2012-08-08 13:31:33 -0700
committerPiotr Dziwiński <piotrdz@gmail.com>2012-08-08 13:31:33 -0700
commitbeca66071c6a2d82da63fb238cdc86e68ff96bdb (patch)
treefdd53a1c67952a656de5ba3a17117fc9d6ef0e7f /src/CBot/CBotToken.h
parent5e637ca0288ddd631ec33e1d620cd4a73bcdc2be (diff)
parenta760e8a749af60cd3598ebe113b7692bc6592f57 (diff)
downloadcolobot-beca66071c6a2d82da63fb238cdc86e68ff96bdb.tar.gz
colobot-beca66071c6a2d82da63fb238cdc86e68ff96bdb.tar.bz2
colobot-beca66071c6a2d82da63fb238cdc86e68ff96bdb.zip
Merge pull request #35 from konopackim/dev
Comment translation and cleanups
Diffstat (limited to 'src/CBot/CBotToken.h')
-rw-r--r--src/CBot/CBotToken.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/CBot/CBotToken.h b/src/CBot/CBotToken.h
index 62e9bf3..8e9d1e3 100644
--- a/src/CBot/CBotToken.h
+++ b/src/CBot/CBotToken.h
@@ -12,15 +12,15 @@
// * GNU General Public License for more details.
// *
// * You should have received a copy of the GNU General Public License
-// * along with this program. If not, see http://www.gnu.org/licenses/.////////////////////////////////////////////////////////////////////
-// interpréteur pour le language CBot du jeu COLOBOT
+// * along with this program. If not, see http://www.gnu.org/licenses/.
-// un programme écrit est tout d'abord transformé en une liste de tokens
-// avant d'aborder le compilateur proprement dit
-// par exemple
+// interpreter of the lanuage CBot for game COLOBOT
+// writing a program is first transformed into a list of tokens
+// before tackling the compiler itself
+// for example
// int var = 3 * ( pos.y + x )
-// est décomposé en (chaque ligne est un token)
+// is decomposed into (each line is a token)
// int
// var
// =
@@ -32,6 +32,7 @@
// x
// )
+#pragma once
extern bool IsOfType(CBotToken* &p, int type1, int type2 = -1);
extern bool IsOfTypeList(CBotToken* &p, int type1, ...);