private bool IsProcProgram() { Token t = scanner.Peek(); scanner.ResetPeek(); return t.val == "proc"; }