Fix #205 unable to find string literal operator operator"" _C_
This commit is contained in:
parent
5be5bfb032
commit
28e47b3ecc
2 changed files with 3 additions and 3 deletions
|
@ -343,7 +343,7 @@ int GetTotalBoardCapacity(ITERATOR begin, ITERATOR end)
|
|||
int AiForce::PlanAttack()
|
||||
{
|
||||
CPlayer &player = *AiPlayer->Player;
|
||||
DebugPrint("%d: Planning for force #%lu of player #%d\n"_C_ player.Index
|
||||
DebugPrint("%d: Planning for force #%lu of player #%d\n" _C_ player.Index
|
||||
_C_(long unsigned int)(this - & (AiPlayer->Force[0])) _C_ player.Index);
|
||||
|
||||
TerrainTraversal transporterTerrainTraversal;
|
||||
|
|
|
@ -767,7 +767,7 @@ NumberDesc *CclParseNumberDesc(lua_State *l)
|
|||
lua_pop(l, 1); // table.
|
||||
} else {
|
||||
lua_pop(l, 1);
|
||||
LuaError(l, "unknow condition '%s'"_C_ key);
|
||||
LuaError(l, "unknow condition '%s'" _C_ key);
|
||||
}
|
||||
} else {
|
||||
LuaError(l, "Parse Error in ParseNumber");
|
||||
|
@ -881,7 +881,7 @@ StringDesc *CclParseStringDesc(lua_State *l)
|
|||
res->D.PlayerName = CclParseNumberDesc(l);
|
||||
} else {
|
||||
lua_pop(l, 1);
|
||||
LuaError(l, "unknow condition '%s'"_C_ key);
|
||||
LuaError(l, "unknow condition '%s'" _C_ key);
|
||||
}
|
||||
} else {
|
||||
LuaError(l, "Parse Error in ParseString");
|
||||
|
|
Loading…
Add table
Reference in a new issue