mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Fixing linux breakage, incorrect constructor name.
This commit is contained in:
parent
dc7e092ce5
commit
6561f9adaf
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user