All pastes #895175 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-07 17:02 UTC
rendered paste body
class SyntaxError : Exception
{
    this(string error, string file, ulong lineno)
    {
        file = file;
        lineno = lineno;
        string msg = error ~ " at " ~ file ~ " line " ~ std.string.toString(lineno+1);
        
        super(msg);
    }

    string file;
    ulong lineno;
}