From 91e4ab1921467783122eff292359e7e9784508c7 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 20 May 2016 15:55:18 +0800 Subject: String primitive, bind pointers in resolve, print macro name in span --- src/parse/types.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/parse') 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 -- cgit v1.2.3