Fixing linux breakage, incorrect constructor name.

This commit is contained in:
beard%netscape.com 2000-10-19 03:32:23 +00:00
parent dc7e092ce5
commit 6561f9adaf
2 changed files with 4 additions and 4 deletions

View File

@ -126,7 +126,7 @@ namespace ICodeASM {
class ICodeParser
{
private:
StringAtom(const StringAtom&); /* No copy constructor */
ICodeParser(const ICodeParser&); /* No copy constructor */
Interpreter::Context *mCx;
uint mMaxRegister;
@ -136,7 +136,7 @@ namespace ICodeASM {
LabelMap mNamedLabels;
public:
ICodeParser (Interpreter::Context *aCx) : mCx(aCx) {}
ICodeParser (Interpreter::Context *aCx = 0) : mCx(aCx) {}
void ParseSourceFromString (const string &source);
/* locate the beginning of the next token and take a guess at what it

View File

@ -126,7 +126,7 @@ namespace ICodeASM {
class ICodeParser
{
private:
StringAtom(const StringAtom&); /* No copy constructor */
ICodeParser(const ICodeParser&); /* No copy constructor */
Interpreter::Context *mCx;
uint mMaxRegister;
@ -136,7 +136,7 @@ namespace ICodeASM {
LabelMap mNamedLabels;
public:
ICodeParser (Interpreter::Context *aCx) : mCx(aCx) {}
ICodeParser (Interpreter::Context *aCx = 0) : mCx(aCx) {}
void ParseSourceFromString (const string &source);
/* locate the beginning of the next token and take a guess at what it