예제 #1
0
 public void setLine(Compilation paramCompilation) {
   int i = paramCompilation.getLineNumber();
   if (i > 0) {
     setFile(paramCompilation.getFileName());
     setLine(i, paramCompilation.getColumnNumber());
   }
 }
예제 #2
0
 public final void compileNotePosition(
     Compilation paramCompilation, Target paramTarget, Expression paramExpression) {
   String str = paramCompilation.getFileName();
   int i = paramCompilation.getLineNumber();
   int j = paramCompilation.getColumnNumber();
   paramCompilation.setLine(paramExpression);
   compile(paramCompilation, paramTarget);
   paramCompilation.setLine(str, i, j);
 }
 public void reportError(String paramString, Compilation paramCompilation)
 {
   String str1 = paramCompilation.getFileName();
   int i = paramCompilation.getLineNumber();
   int j = paramCompilation.getColumnNumber();
   paramCompilation.setLocation(this.proc);
   String str2 = this.proc.getName();
   paramString = new StringBuffer(paramString);
   if (str2 == null) {
     paramString.append("unnamed procedure");
   }
   for (;;)
   {
     paramCompilation.error('e', paramString.toString());
     paramCompilation.setLine(str1, i, j);
     return;
     paramString.append("procedure ");
     paramString.append(str2);
   }
 }