Disallow leading zeroes in sized-types

Also avoid using boost::lexical_cast for parseSize.
This commit is contained in:
Alex Beregszaszi
2020-12-14 11:40:14 +00:00
parent 4bffd040e2
commit aa042ccb87
3 changed files with 27 additions and 18 deletions
@@ -40,4 +40,3 @@ contract C {
uint uint300 = 0;
}
// ----
// ParserError 2314: (22-29): Expected identifier but got 'bytes1'