refactoring: made compilation work in codegear

This commit is contained in:
Daniel Marjamäki 2008-08-20 07:32:07 +00:00
parent e64eed909b
commit 1c5ed9b1c0
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,8 @@
#include "CommonCheck.h"
#include <stdlib.h> // free
#include <vector>
#include <sstream>

View File

@ -1,6 +1,7 @@
//---------------------------------------------------------------------------
#include "CommonCheck.h"
#include "tokenize.h"
#include <stdlib.h> // free
#include <iostream>
#include <sstream>
#include <list>
@ -363,7 +364,7 @@ void deleteTokens(TOKEN *tok)
{
while (tok)
{
TOKEN *next = tok->next;
TOKEN *next = tok->next;
free(tok->str);
delete tok;
tok = next;