mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactored NumberUnit and FunctionDefinition. Added OctalNumber. Fixed number followed by identifier with no whitespace.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
contract C {
|
||||
uint constant y = 1wei;
|
||||
}
|
||||
// ----
|
||||
// ParserError 8936: (32-33): Identifier-start is not allowed at end of a number.
|
||||
@@ -0,0 +1,5 @@
|
||||
contract C {
|
||||
uint constant y = 8 gwei ether;
|
||||
}
|
||||
// ----
|
||||
// ParserError 2314: (39-44): Expected ';' but got 'ether'
|
||||
Reference in New Issue
Block a user