diff options
author | Zaba999 <zaba.marcin@gmail.com> | 2012-07-20 23:13:02 +0200 |
---|---|---|
committer | Zaba999 <zaba.marcin@gmail.com> | 2012-07-20 23:13:02 +0200 |
commit | 26f91499473ce0f7738fee0931a337ef19d713de (patch) | |
tree | 56bdd4cc7a263614c1800e4d29a8e81695171dd2 /src/CBot/CBotFunction.cpp | |
parent | 1910219518afb26edf7329e0945b9ddba8061a08 (diff) | |
download | colobot-26f91499473ce0f7738fee0931a337ef19d713de.tar.gz colobot-26f91499473ce0f7738fee0931a337ef19d713de.tar.bz2 colobot-26f91499473ce0f7738fee0931a337ef19d713de.zip |
Further translations and doxygen comments.
Diffstat (limited to 'src/CBot/CBotFunction.cpp')
-rw-r--r-- | src/CBot/CBotFunction.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/CBot/CBotFunction.cpp b/src/CBot/CBotFunction.cpp index 784e647..363b939 100644 --- a/src/CBot/CBotFunction.cpp +++ b/src/CBot/CBotFunction.cpp @@ -1379,7 +1379,6 @@ CBotClass* CBotClass::Compile1(CBotToken* &p, CBotCStack* pStack) if (IsOfType(p, TokenTypVar))
{
CBotClass* pPapa = NULL;
-#if EXTENDS
if ( IsOfType( p, ID_EXTENDS ) )
{
CBotString name = p->GivString();
@@ -1391,7 +1390,6 @@ CBotClass* CBotClass::Compile1(CBotToken* &p, CBotCStack* pStack) return NULL;
}
}
-#endif
CBotClass* classe = (pOld == NULL) ? new CBotClass(name, pPapa) : pOld;
classe->Purge(); // vide les anciennes définitions
classe->m_IsDef = false; // définition en cours
@@ -1627,12 +1625,10 @@ CBotClass* CBotClass::Compile(CBotToken* &p, CBotCStack* pStack) // la classe à été créée par Compile1
CBotClass* pOld = CBotClass::Find(name);
-#if EXTENDS
if ( IsOfType( p, ID_EXTENDS ) )
{
IsOfType(p, TokenTypVar); // forcément
}
-#endif
IsOfType( p, ID_OPBLK); // forcément
while ( pStack->IsOk() && !IsOfType( p, ID_CLBLK ) )
|