补充
判断是不是dup-declared procedure: 只要procedure name一样, 就算dup-declared
判断是不是undeclared procedure: 需要判断procedure, parameter list,
return type是否一致
in sysio.h:
READ (id1: INTEGER) : INTEGER ;
=> real_number : REAL;
READ(real_number); <- undeclared procedure
btw, parameter list中的ids不要到symbol table上register