diff options
author | John Hodge <tpg@mutabah.net> | 2015-11-03 12:25:42 +1100 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-11-03 12:25:42 +1100 |
commit | 20ee7442f280ced9e5258876f9fd2212797f868b (patch) | |
tree | 2bb4fd40727ad0402d6d17a6501d5bab05fb5e48 /src/parse/root.cpp | |
parent | 01ec57f596f89d4b52b378975f941e2ed8d2e563 (diff) | |
download | mrust-20ee7442f280ced9e5258876f9fd2212797f868b.tar.gz |
Remove embedded spans (will move to wrapping spans)
Diffstat (limited to 'src/parse/root.cpp')
-rw-r--r-- | src/parse/root.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp index 2931f492..462922d2 100644 --- a/src/parse/root.cpp +++ b/src/parse/root.cpp @@ -986,7 +986,7 @@ void Parse_Use(TokenStream& lex, ::std::function<void(AST::Path, ::std::string)> }
else
{
- path.set_span( lex.end_span(span_start) );
+ //path.set_span( lex.end_span(span_start) );
switch( tok.type() )
{
case TOK_BRACE_OPEN:
@@ -1003,7 +1003,7 @@ void Parse_Use(TokenStream& lex, ::std::function<void(AST::Path, ::std::string)> return ;
}
}
- path.set_span( lex.end_span(span_start) );
+ //path.set_span( lex.end_span(span_start) );
::std::string name;
// This should only be allowed if the last token was an ident
|