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
This commit is contained in:
Lefteris Karapetsas 2015-03-23 12:07:57 +01:00
parent 8f8e407306
commit 139dd3b1d2
2 changed files with 0 additions and 2 deletions

View File

@ -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

View File

@ -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 */ \