diff options
author | chriseth <chris@ethereum.org> | 2017-08-21 18:08:29 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-08-21 19:31:28 +0800 |
commit | 2c5985de06b4ad35eaa77f3869e280440100c9cd (patch) | |
tree | 96fbdef7b3bf029d8f72ae9df53268375a952ca2 /libsolidity/inlineasm/AsmParser.h | |
parent | 83b90f3e8a3ee168ba00eff33c4443d00bbb8a57 (diff) | |
download | dexon-solidity-2c5985de06b4ad35eaa77f3869e280440100c9cd.tar.gz dexon-solidity-2c5985de06b4ad35eaa77f3869e280440100c9cd.tar.zst dexon-solidity-2c5985de06b4ad35eaa77f3869e280440100c9cd.zip |
Be more strict about number literals in assembly.
Diffstat (limited to 'libsolidity/inlineasm/AsmParser.h')
-rw-r--r-- | libsolidity/inlineasm/AsmParser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/inlineasm/AsmParser.h b/libsolidity/inlineasm/AsmParser.h index 45708afd..a48a3393 100644 --- a/libsolidity/inlineasm/AsmParser.h +++ b/libsolidity/inlineasm/AsmParser.h @@ -75,6 +75,8 @@ protected: TypedName parseTypedName(); std::string expectAsmIdentifier(); + static bool isValidNumberLiteral(std::string const& _literal); + private: bool m_julia = false; }; |