Beispiel #1
0
 //Generate line pragma for a string and remembers last position
 private void AddLinePragma(DNode node)
 {
     lastLocation = node.Location;
     pdb.AddLineSym(cw.Offset, Line(lastLocation), Col(lastLocation));
 }
Beispiel #2
0
 //Generates a line pragma and remembers a provided location
 //via lastLine and lastColumn class fields.
 private void AddLinePragma(ElaExpression exp)
 {
     lastLine   = exp.Line;
     lastColumn = exp.Column;
     pdb.AddLineSym(cw.Offset, exp.Line, exp.Column);
 }