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 c {
uint external x;
}
// ----
// ParserError: (19-19): Expected identifier, got 'External'
// ParserError: (19-19): Expected token Identifier got 'External'