Simplify expectIdentifierToken by using expectToken

This commit is contained in:
Alex Beregszaszi
2018-05-03 22:10:51 +01:00
parent 73c99d15cd
commit ed9f80690b
13 changed files with 16 additions and 33 deletions
@@ -2,4 +2,4 @@ contract Foo {
function f() { var[] a; }
}
// ----
// ParserError: (34-34): Expected identifier, got 'LBrack'
// ParserError: (34-34): Expected token Identifier got 'LBrack'