浏览代码

* problem with new expr_type solved

florian 27 年之前
父节点
当前提交
41301b806d
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      compiler/pdecl.pas

+ 5 - 2
compiler/pdecl.pas

@@ -134,7 +134,7 @@ unit pdecl;
                    consume(COLON);
                    consume(COLON);
                    ignore_equal:=true;
                    ignore_equal:=true;
                    def:=read_type('');
                    def:=read_type('');
-                   block_type:=bt_type;
+                   block_type:=bt_general;
                    ignore_equal:=false;
                    ignore_equal:=false;
                    symtablestack^.insert(new(ptypedconstsym,init(name,def)));
                    symtablestack^.insert(new(ptypedconstsym,init(name,def)));
                    consume(EQUAL);
                    consume(EQUAL);
@@ -1689,7 +1689,10 @@ unit pdecl;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.4  1998-04-08 10:26:09  florian
+  Revision 1.5  1998-04-08 14:59:20  florian
+    * problem with new expr_type solved
+
+  Revision 1.4  1998/04/08 10:26:09  florian
     * correct error handling of virtual constructors
     * correct error handling of virtual constructors
     * problem with new type declaration handling fixed
     * problem with new type declaration handling fixed