mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added missing keyword unicode to Lexer
This commit is contained in:
parent
7974a3cf7c
commit
4aa310034c
@ -90,6 +90,7 @@ Try: 'try';
|
||||
Type: 'type';
|
||||
Ufixed: 'ufixed' | ('ufixed' [1-9][0-9]+ 'x' [1-9][0-9]+);
|
||||
Unchecked: 'unchecked';
|
||||
Unicode: 'unicode';
|
||||
/**
|
||||
* Sized unsigned integer types.
|
||||
* uint is an alias of uint256.
|
||||
|
@ -0,0 +1,4 @@
|
||||
function unicode() returns {}
|
||||
|
||||
// ----
|
||||
// ParserError 2314: (9-16): Expected identifier but got 'ILLEGAL'
|
@ -0,0 +1,6 @@
|
||||
contract C
|
||||
{
|
||||
string unicode = "abc";
|
||||
}
|
||||
// ----
|
||||
// ParserError 2314: (24-31): Expected identifier but got 'ILLEGAL'
|
Loading…
Reference in New Issue
Block a user