From 2c5985de06b4ad35eaa77f3869e280440100c9cd Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 21 Aug 2017 12:08:29 +0200 Subject: Be more strict about number literals in assembly. --- libsolidity/inlineasm/AsmParser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libsolidity/inlineasm/AsmParser.h') 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; }; -- cgit