diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-20 15:55:18 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-20 15:55:18 +0800 |
commit | 91e4ab1921467783122eff292359e7e9784508c7 (patch) | |
tree | 4c743b4a010cc24d29aa56ddbb2a283467fe2e69 /src/parse | |
parent | a0c013a290f88e4ade34c08ff618d8f1ed3f63f6 (diff) | |
download | mrust-91e4ab1921467783122eff292359e7e9784508c7.tar.gz |
String primitive, bind pointers in resolve, print macro name in span
Diffstat (limited to 'src/parse')
-rw-r--r-- | src/parse/types.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/parse/types.cpp b/src/parse/types.cpp index 01acf074..fe23b509 100644 --- a/src/parse/types.cpp +++ b/src/parse/types.cpp @@ -86,10 +86,6 @@ TypeRef Parse_Type_Int(TokenStream& lex) { return TypeRef(TypeRef::TagPrimitive(), Span(tok.get_pos()), ct); } - if( tok.str() == "str" ) - { - return TypeRef(TypeRef::TagPath(), Span(tok.get_pos()), AST::Path("", { AST::PathNode("#",{}), AST::PathNode("str",{}) })); - } lex.putback(tok); return Parse_Type_Path(lex, {}); // - Fall through to path handling |