Removal of unneeded importants; debugging parser

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Cheryl Foil 2008-08-18 04:54:35 +00:00
commit 88bd4e6331
12 changed files with 498 additions and 574 deletions

View file

@ -1,8 +1,4 @@
#include "Token.h"
#include <cstdlib>
#include <iostream>
#include <string>
#include <list>
using namespace std;
@ -21,7 +17,7 @@ string Token::toString()
return "{END OF PARAGRAPH}";
}
if (tokenType == PLAINSTRING){
return tokenString;
return "{PLAINSTRING :" + tokenString + "}";
}
if (tokenType == COMMAND){
return "{COMMAND : " + tokenString+ "}";