[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :)

Fixed: tango.io.Console seems to be working now.
This commit is contained in:
Tomas Lindquist Olsen
2008-01-22 00:01:16 +01:00
parent 7825be29ee
commit 94c47aa1fa
33 changed files with 194 additions and 108 deletions

View File

@@ -1219,13 +1219,12 @@ Lerr:
TemplateParameters *Parser::parseTemplateParameterList()
{
TemplateParameters *tpl;
TemplateParameters *tpl = new TemplateParameters();
if (token.value != TOKlparen)
{ error("parenthesized TemplateParameterList expected following TemplateIdentifier");
goto Lerr;
}
tpl = new TemplateParameters();
nextToken();
// Get array of TemplateParameters
@@ -1309,7 +1308,7 @@ TemplateParameters *Parser::parseTemplateParameterList()
if (!tp_ident)
{
error("no identifier for template value parameter");
goto Lerr;
tp_ident = new Identifier("error", TOKidentifier);
}
if (token.value == TOKcolon) // : CondExpression
{
@@ -1330,10 +1329,8 @@ TemplateParameters *Parser::parseTemplateParameterList()
}
}
check(TOKrparen);
return tpl;
Lerr:
return NULL;
return tpl;
}
/******************************************