mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add flag for JULIA parsing
This commit is contained in:
parent
3926e8704a
commit
01b60a4f8d
@ -37,7 +37,7 @@ namespace assembly
|
|||||||
class Parser: public ParserBase
|
class Parser: public ParserBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Parser(ErrorList& _errors): ParserBase(_errors) {}
|
explicit Parser(ErrorList& _errors, bool _julia = false): ParserBase(_errors), m_julia(_julia) {}
|
||||||
|
|
||||||
/// Parses an inline assembly block starting with `{` and ending with `}`.
|
/// Parses an inline assembly block starting with `{` and ending with `}`.
|
||||||
/// @returns an empty shared pointer on error.
|
/// @returns an empty shared pointer on error.
|
||||||
@ -70,6 +70,9 @@ protected:
|
|||||||
FunctionDefinition parseFunctionDefinition();
|
FunctionDefinition parseFunctionDefinition();
|
||||||
Statement parseFunctionalInstruction(Statement&& _instruction);
|
Statement parseFunctionalInstruction(Statement&& _instruction);
|
||||||
std::string expectAsmIdentifier();
|
std::string expectAsmIdentifier();
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool m_julia = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user