Add check that regular and unicode string literals are well formatted

This commit is contained in:
Alex Beregszaszi
2020-07-27 18:21:17 +01:00
parent 6fe8e63eee
commit 6eb60bc8cd
9 changed files with 39 additions and 7 deletions
+2
View File
@@ -190,6 +190,7 @@ namespace solidity::langutil
K(Throw, "throw", 0) \
K(Try, "try", 0) \
K(Type, "type", 0) \
K(Unicode, "unicode", 0) \
K(Using, "using", 0) \
K(View, "view", 0) \
K(Virtual, "virtual", 0) \
@@ -227,6 +228,7 @@ namespace solidity::langutil
K(FalseLiteral, "false", 0) \
T(Number, nullptr, 0) \
T(StringLiteral, nullptr, 0) \
T(UnicodeStringLiteral, nullptr, 0) \
T(HexStringLiteral, nullptr, 0) \
T(CommentLiteral, nullptr, 0) \
\