Closed cgewecke closed 7 years ago
Solc is ok with this:
uint const = 0;
Solidity-parser is throwing:
SyntaxError: Expected "!=", "%", "%=", "&", "&&", "&=", "(", "*", "*=", "+", "++", "+=", "-", "--", "-=", ".", "/", "/*", "/=", ";", "<", "<<", "<<=", "<=", "=", "==", ">", ">=", ">>", ">>=", ">>>", "?", "[", "^", "^=", "constant", "in", "internal", "memory", "private", "public", "storage", "|", "|=", "||", comment, end of line, or whitespace but "c" found. Line: 303, Column: 8
const
This PR
LGTM
Solc is ok with this:
Solidity-parser is throwing:
const
doesn't appear on the reserved keywords listThis PR
const
in a non-token way. (Sorry)