Skip to content
  • paul's avatar
    compiler: implement generic procedural types · 2599cc63
    paul authored
      - store type parameter in parasymtable, push it to the symtablestack before parsing arguments and return type
      - move procedure/function declaration parsing to procvar_dec subroutine
      - don't skip parasymtable while searching types because they store type parameters now
      - add TParaSymTable.ReadOnly field to prevent adding defs into symtable. Add defs to the parent symtable in this case (we are adding this symtable to stack to read type parameters only, add defs should go to parent in this case as it was before)
    
    git-svn-id: trunk@16719 -
    2599cc63