diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-23 19:07:57 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-23 19:07:57 +0800 |
commit | 139dd3b1d2d8aa3de845cb0bfe04c4ff2bfc113d (patch) | |
tree | 0eda8edaf9507d9860848fb5d738035efed7f954 | |
parent | 8f8e407306172ab75f5b200c1f1df87bb55fa2a6 (diff) | |
download | dexon-solidity-139dd3b1d2d8aa3de845cb0bfe04c4ff2bfc113d.tar.gz dexon-solidity-139dd3b1d2d8aa3de845cb0bfe04c4ff2bfc113d.tar.zst dexon-solidity-139dd3b1d2d8aa3de845cb0bfe04c4ff2bfc113d.zip |
Removing string as a token.
- The string keyword is reserved for future use but should not be a
token in the code since it can cause trigger internal compiler
assertions.
- fixes #1384
-rw-r--r-- | ExpressionCompiler.h | 1 | ||||
-rw-r--r-- | Token.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h index e6caad74..2577d21b 100644 --- a/ExpressionCompiler.h +++ b/ExpressionCompiler.h @@ -42,7 +42,6 @@ class CompilerContext; class Type; class IntegerType; class ArrayType; -class StaticStringType; /** * Compiler for expressions, i.e. converts an AST tree whose root is an Expression into a stream @@ -290,7 +290,6 @@ namespace solidity K(Byte, "byte", 0) \ K(Address, "address", 0) \ K(Bool, "bool", 0) \ - K(StringType, "string", 0) \ K(Real, "real", 0) \ K(UReal, "ureal", 0) \ T(TypesEnd, NULL, 0) /* used as type enum end marker */ \ |