summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/name.cc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-14 23:14:16 +0000
committerKarl Berry <karl@freefriends.org>2010-06-14 23:14:16 +0000
commitc2175edc7aa44ca0b526f008d473d6f8a8ac4933 (patch)
treed6c491676b413ad1922481f8c3fc7b64c3afc0a5 /Build/source/utils/asymptote/name.cc
parent5d08e9ff4fe5fc836d237ea08e82c82b27d558a2 (diff)
asy 1.98
git-svn-id: svn://tug.org/texlive/trunk@18982 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/name.cc')
-rw-r--r--Build/source/utils/asymptote/name.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/Build/source/utils/asymptote/name.cc b/Build/source/utils/asymptote/name.cc
index ac3ad8e70df..b3853b5a91c 100644
--- a/Build/source/utils/asymptote/name.cc
+++ b/Build/source/utils/asymptote/name.cc
@@ -87,7 +87,7 @@ void simpleName::varTrans(action act, coenv &e, types::ty *target)
}
else {
em.error(getPos());
- em << "no matching variable of name \'" << *id << "\'";
+ em << "no matching variable of name \'" << id << "\'";
}
}
@@ -111,7 +111,7 @@ types::ty *simpleName::typeTrans(coenv &e, bool tacit)
else {
if (!tacit) {
em.error(getPos());
- em << "no type of name \'" << *id << "\'";
+ em << "no type of name \'" << id << "\'";
}
return primError();
}
@@ -122,7 +122,7 @@ tyEntry *simpleName::tyEntryTrans(coenv &e)
tyEntry *ent = e.e.lookupTyEntry(id);
if (!ent) {
em.error(getPos());
- em << "no type of name \'" << *id << "\'";
+ em << "no type of name \'" << id << "\'";
return new tyEntry(primError(), 0, 0, position());
}
return ent;
@@ -142,7 +142,7 @@ frame *simpleName::tyFrameTrans(coenv &e)
void simpleName::prettyprint(ostream &out, Int indent)
{
prettyindent(out, indent);
- out << "simpleName '" << *id << "'\n";
+ out << "simpleName '" << id << "'\n";
}
@@ -202,7 +202,7 @@ void qualifiedName::varTransField(action act, coenv &e,
}
else {
em.error(getPos());
- em << "no matching field of name \'" << *id << "\' in \'" << *r << "\'";
+ em << "no matching field of name \'" << id << "\' in \'" << *r << "\'";
}
}
@@ -237,6 +237,7 @@ trans::varEntry *qualifiedName::getCallee(coenv &e, signature *sig)
// getTypeAsCallee is an optimization attempt. We don't try optimizing the
// rarer qualifiedName call case.
// TODO: See if this is worth implementing.
+ //cout << "FAIL BY QUALIFIED NAME" << endl;
return 0;
}
@@ -272,7 +273,7 @@ types::ty *qualifiedName::typeTrans(coenv &e, bool tacit)
else {
if (!tacit) {
em.error(getPos());
- em << "no matching field or type of name \'" << *id << "\' in \'"
+ em << "no matching field or type of name \'" << id << "\' in \'"
<< *r << "\'";
}
return primError();
@@ -290,7 +291,7 @@ tyEntry *qualifiedName::tyEntryTrans(coenv &e)
tyEntry *ent = r->e.lookupTyEntry(id);
if (!ent) {
em.error(getPos());
- em << "no matching type of name \'" << *id << "\' in \'"
+ em << "no matching type of name \'" << id << "\' in \'"
<< *r << "\'";
return new tyEntry(primError(), 0, 0, position());
}
@@ -317,7 +318,7 @@ frame *qualifiedName::tyFrameTrans(coenv &e)
void qualifiedName::prettyprint(ostream &out, Int indent)
{
prettyindent(out, indent);
- out << "qualifiedName '" << *id << "'\n";
+ out << "qualifiedName '" << id << "'\n";
qualifier->prettyprint(out, indent+1);
}