diff --git a/tutorial/wmmltohtml2 b/tutorial/wmmltohtml2 index 5672ce387552dde90c0735ac2073070eb4c18d6f..36001a313039bf366933e61bc9166ab5c2b1d772 100755 --- a/tutorial/wmmltohtml2 +++ b/tutorial/wmmltohtml2 @@ -44,8 +44,7 @@ int main(int argc, string *argv) { if(s->pos) { - werror("This error occured close to tag "+s->tag+" near pos "+ - s->pos+".\n"); + werror("\nThis error occured close to tag "+s->tag+" near "+s->location()+"\n"); throw(0); } }