* problem with sizes of classes fixed (if the anchestor was declared

forward, the compiler doesn't update the child classes size)
This commit is contained in:
florian 1998-06-03 22:14:16 +00:00
parent f64289f51f
commit 75f7938e27
5 changed files with 889 additions and 856 deletions

View File

@ -203,6 +203,7 @@ parser_e_property_need_paras,
parser_e_constructor_cannot_be_not_virtual, parser_e_constructor_cannot_be_not_virtual,
parser_e_no_default_property_available, parser_e_no_default_property_available,
parser_e_cant_have_published, parser_e_cant_have_published,
parser_forward_declaration_must_be_resolved,
{ {
Symbol table Symbol table
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
const optiontxt : array[1..04879] of char=( const optiontxt : array[1..04871] of char=(
' ','[','o','p','t','i','o','n','s',']',' ','<','i','n','p', ' ','[','o','p','t','i','o','n','s',']',' ','<','i','n','p',
'u','t','f','i','l','e','>',' ','[','o','p','t','i','o','n', 'u','t','f','i','l','e','>',' ','[','o','p','t','i','o','n',
's',']',#000,'O','n','l','y',' ','o','n','e',' ','s','o','u', 's',']',#000,'O','n','l','y',' ','o','n','e',' ','s','o','u',
@ -42,286 +42,285 @@ const optiontxt : array[1..04879] of char=(
'9','8',' ','b','y',' ','F','l','o','r','i','a','n',' ','K', '9','8',' ','b','y',' ','F','l','o','r','i','a','n',' ','K',
'l','a','e','m','p','f','l',#000,'F','r','e','e',' ','P','a', 'l','a','e','m','p','f','l',#000,'F','r','e','e',' ','P','a',
's','c','a','l',' ','C','o','m','p','i','l','e','r',' ','v', 's','c','a','l',' ','C','o','m','p','i','l','e','r',' ','v',
'e','r','s','i','o','n',' ','$','V','E','R',#000,'<','l','f', 'e','r','s','i','o','n',' ','$','V','E','R',#000,#000,'T','h',
'>',#000,'T','h','i','s',' ','p','r','o','g','r','a','m',' ', 'i','s',' ','p','r','o','g','r','a','m',' ','c','o','m','e',
'c','o','m','e','s',' ','u','n','d','e','r',' ','t','h','e', 's',' ','u','n','d','e','r',' ','t','h','e',' ','G','N','U',
' ','G','N','U',' ','G','e','n','e','r','a','l',' ','P','u', ' ','G','e','n','e','r','a','l',' ','P','u','b','l','i','c',
'b','l','i','c',' ','L','i','c','e','n','c','e',#000,'F','o', ' ','L','i','c','e','n','c','e',#000,'F','o','r',' ','m','o',
'r',' ','m','o','r','e',' ','i','n','f','o','r','m','a','t', 'r','e',' ','i','n','f','o','r','m','a','t','i','o','n',' ',
'i','o','n',' ','r','e','a','d',' ','C','O','P','Y','I','N', 'r','e','a','d',' ','C','O','P','Y','I','N','G',#000,#000,'R',
'G',#000,'<','l','f','>',#000,'R','e','p','o','r','t',' ','b', 'e','p','o','r','t',' ','b','u','g','s',',','s','u','g','g',
'u','g','s',',','s','u','g','g','e','s','t','i','o','n','s', 'e','s','t','i','o','n','s',' ','e','t','c',' ','t','o',':',
' ','e','t','c',' ','t','o',':',#000,' ',' ',' ',' ',' ',' ', #000,' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','b','a','2','3','9', ' ',' ','b','a','2','3','9','5','@','f','e','n','.','b','a',
'5','@','f','e','n','.','b','a','y','n','e','t','.','d','e', 'y','n','e','t','.','d','e',#000,'*','*','0','*','_','+',' ',
#000,'*','*','0','*','_','+',' ','s','w','i','t','c','h',' ', 's','w','i','t','c','h',' ','o','p','t','i','o','n',' ','o',
'o','p','t','i','o','n',' ','o','n',',',' ','-',' ','o','f', 'n',',',' ','-',' ','o','f','f',#000,'*','*','1','a','_','t',
'f',#000,'*','*','1','a','_','t','h','e',' ','c','o','m','p', 'h','e',' ','c','o','m','p','i','l','e','r',' ','d','o','e',
'i','l','e','r',' ','d','o','e','s','n',#039,#039,'t',' ','d', 's','n',#039,#039,'t',' ','d','e','l','e','t','e',' ','t','h',
'e','l','e','t','e',' ','t','h','e',' ','g','e','n','e','r', 'e',' ','g','e','n','e','r','a','t','e','d',' ','a','s','s',
'a','t','e','d',' ','a','s','s','e','m','b','l','e','r',' ', 'e','m','b','l','e','r',' ','f','i','l','e',#000,'*','t','1',
'f','i','l','e',#000,'*','t','1','b','_','u','s','e',' ','E', 'b','_','u','s','e',' ','E','M','S',#000,'*','*','1','B','+',
'M','S',#000,'*','*','1','B','+','_','b','u','i','l','d',#000, '_','b','u','i','l','d',#000,'*','*','1','C','_','c','o','d',
'*','*','1','C','_','c','o','d','e',' ','g','e','n','e','r', 'e',' ','g','e','n','e','r','a','t','i','o','n',' ','o','p',
'a','t','i','o','n',' ','o','p','t','i','o','n','s',#000,'*', 't','i','o','n','s',#000,'*','*','2','C','a','_','n','o','t',
'*','2','C','a','_','n','o','t',' ','i','m','p','l','e','m', ' ','i','m','p','l','e','m','e','n','t','e','d',#000,'*','*',
'e','n','t','e','d',#000,'*','*','2','C','e','_','n','o','t', '2','C','e','_','n','o','t',' ','i','m','p','l','e','m','e',
' ','i','m','p','l','e','m','e','n','t','e','d',#000,'3','*', 'n','t','e','d',#000,'3','*','2','C','D','_','D','y','n','a',
'2','C','D','_','D','y','n','a','m','i','c',' ','l','i','n', 'm','i','c',' ','l','i','n','k','i','n','g',#000,'*','*','2',
'k','i','n','g',#000,'*','*','2','C','h','<','n','>','_','<', 'C','h','<','n','>','_','<','n','>',' ','b','y','t','e','s',
'n','>',' ','b','y','t','e','s',' ','h','e','a','p',' ','(', ' ','h','e','a','p',' ','(','b','e','t','w','e','e','n',' ',
'b','e','t','w','e','e','n',' ','1','0','2','3',' ','a','n', '1','0','2','3',' ','a','n','d',' ','6','7','1','0','7','8',
'd',' ','6','7','1','0','7','8','4','0',')',#000,'*','*','2', '4','0',')',#000,'*','*','2','C','i','_','I','O','-','c','h',
'C','i','_','I','O','-','c','h','e','c','k','i','n','g',#000, 'e','c','k','i','n','g',#000,'*','*','2','C','n','_','o','m',
'*','*','2','C','n','_','o','m','i','t',' ','l','i','n','k', 'i','t',' ','l','i','n','k','i','n','g',' ','s','t','a','g',
'i','n','g',' ','s','t','a','g','e',#000,'*','*','2','C','o', 'e',#000,'*','*','2','C','o','_','c','h','e','c','k',' ','o',
'_','c','h','e','c','k',' ','o','v','e','r','f','l','o','w', 'v','e','r','f','l','o','w',' ','o','f',' ','i','n','t','e',
' ','o','f',' ','i','n','t','e','g','e','r',' ','o','p','e', 'g','e','r',' ','o','p','e','r','a','t','i','o','n','s',#000,
'r','a','t','i','o','n','s',#000,'*','*','2','C','r','_','r', '*','*','2','C','r','_','r','a','n','g','e',' ','c','h','e',
'a','n','g','e',' ','c','h','e','c','k','i','n','g',#000,'*', 'c','k','i','n','g',#000,'*','O','2','C','s','<','n','>','_',
'O','2','C','s','<','n','>','_','s','e','t',' ','s','t','a', 's','e','t',' ','s','t','a','c','k',' ','s','i','z','e',' ',
'c','k',' ','s','i','z','e',' ','t','o',' ','<','n','>',#000, 't','o',' ','<','n','>',#000,'*','*','2','C','t','_','s','t',
'*','*','2','C','t','_','s','t','a','c','k',' ','c','h','e', 'a','c','k',' ','c','h','e','c','k','i','n','g',#000,'3','*',
'c','k','i','n','g',#000,'3','*','2','C','S','_','s','t','a', '2','C','S','_','s','t','a','t','i','c',' ','l','i','n','k',
't','i','c',' ','l','i','n','k','i','n','g',#000,'*','*','1', 'i','n','g',#000,'*','*','1','d','<','x','>','_','d','e','f',
'd','<','x','>','_','d','e','f','i','n','e','s',' ','t','h', 'i','n','e','s',' ','t','h','e',' ','s','y','m','b','o','l',
'e',' ','s','y','m','b','o','l',' ','<','x','>',#000,'*','O', ' ','<','x','>',#000,'*','O','1','D','_','c','o','n','t','r',
'1','D','_','c','o','n','t','r','o','l','s',' ','t','h','e', 'o','l','s',' ','t','h','e',' ','g','e','n','e','r','a','t',
' ','g','e','n','e','r','a','t','i','o','n',' ','o','f',' ', 'i','o','n',' ','o','f',' ','D','E','F',' ','f','i','l','e',
'D','E','F',' ','f','i','l','e',' ','(','o','n','l','y',' ', ' ','(','o','n','l','y',' ','O','S','/','2',')',#000,'*','O',
'O','S','/','2',')',#000,'*','O','2','D','d','<','x','>','_', '2','D','d','<','x','>','_','s','e','t',' ','d','e','s','c',
's','e','t',' ','d','e','s','c','r','i','p','t','i','o','n', 'r','i','p','t','i','o','n',' ','t','o',' ','<','x','>',#000,
' ','t','o',' ','<','x','>',#000,'*','O','2','D','o','_','g', '*','O','2','D','o','_','g','e','n','e','r','a','t','e',' ',
'e','n','e','r','a','t','e',' ','D','E','F',' ','f','i','l', 'D','E','F',' ','f','i','l','e',#000,'*','O','2','D','w','_',
'e',#000,'*','O','2','D','w','_','P','M',' ','a','p','p','l', 'P','M',' ','a','p','p','l','i','c','a','t','i','o','n',#000,
'i','c','a','t','i','o','n',#000,'*','L','1','e','<','x','>', '*','L','1','e','<','x','>','_','s','e','t',' ','p','a','t',
'_','s','e','t',' ','p','a','t','h',' ','t','o',' ','e','x', 'h',' ','t','o',' ','e','x','e','c','u','t','a','b','l','e',
'e','c','u','t','a','b','l','e','s',#000,'*','*','1','E','_', 's',#000,'*','*','1','E','_','s','a','m','e',' ','a','s',' ',
's','a','m','e',' ','a','s',' ','-','C','n',#000,'*','*','1', '-','C','n',#000,'*','*','1','g','_','g','e','n','e','r','a',
'g','_','g','e','n','e','r','a','t','e',' ','d','e','b','u', 't','e',' ','d','e','b','u','g','g','e','r',' ','i','n','f',
'g','g','e','r',' ','i','n','f','o','r','m','a','t','i','o', 'o','r','m','a','t','i','o','n',#000,'*','*','1','F','_','s',
'n',#000,'*','*','1','F','_','s','e','t',' ','f','i','l','e', 'e','t',' ','f','i','l','e',' ','n','a','m','e','s',' ','a',
' ','n','a','m','e','s',' ','a','n','d',' ','p','a','t','h', 'n','d',' ','p','a','t','h','s',#000,'*','*','2','F','e','<',
's',#000,'*','*','2','F','e','<','x','>','_','r','e','d','i', 'x','>','_','r','e','d','i','r','e','c','t',' ','e','r','r',
'r','e','c','t',' ','e','r','r','o','r',' ','o','u','t','p', 'o','r',' ','o','u','t','p','u','t',' ','t','o',' ','<','x',
'u','t',' ','t','o',' ','<','x','>',#000,'*','L','2','F','g', '>',#000,'*','L','2','F','g','<','x','>','_','<','x','>',' ',
'<','x','>','_','<','x','>',' ','s','e','a','r','c','h',' ', 's','e','a','r','c','h',' ','p','a','t','h',' ','f','o','r',
'p','a','t','h',' ','f','o','r',' ','t','h','e',' ','G','N', ' ','t','h','e',' ','G','N','U',' ','C',' ','l','i','b',#000,
'U',' ','C',' ','l','i','b',#000,'*','L','2','F','r','<','x', '*','L','2','F','r','<','x','>','_','<','x','>',' ','s','e',
'>','_','<','x','>',' ','s','e','a','r','c','h',' ','p','a', 'a','r','c','h',' ','p','a','t','h',' ','f','o','r',' ','t',
't','h',' ','f','o','r',' ','t','h','e',' ','e','r','r','o', 'h','e',' ','e','r','r','o','r',' ','m','e','s','s','a','g',
'r',' ','m','e','s','s','a','g','e',' ','f','i','l','e',#000, 'e',' ','f','i','l','e',#000,'*','*','2','F','i','<','x','>',
'*','*','2','F','i','<','x','>','_','a','d','d','s',' ','<', '_','a','d','d','s',' ','<','x','>',' ','t','o',' ','i','n',
'x','>',' ','t','o',' ','i','n','c','l','u','d','e',' ','p', 'c','l','u','d','e',' ','p','a','t','h',#000,'*','*','2','F',
'a','t','h',#000,'*','*','2','F','l','<','x','>','_','a','d', 'l','<','x','>','_','a','d','d','s',' ','<','x','>',' ','t',
'd','s',' ','<','x','>',' ','t','o',' ','l','i','b','r','a', 'o',' ','l','i','b','r','a','r','y',' ','p','a','t','h',#000,
'r','y',' ','p','a','t','h',#000,'*','L','2','F','L','<','x', '*','L','2','F','L','<','x','>','_','u','s','e','s',' ','<',
'>','_','u','s','e','s',' ','<','x','>',' ','a','s',' ','d', 'x','>',' ','a','s',' ','d','y','n','a','m','i','c',' ','l',
'y','n','a','m','i','c',' ','l','i','n','k','e','r',#000,'*', 'i','n','k','e','r',#000,'*','*','2','F','u','<','x','>','_',
'*','2','F','u','<','x','>','_','a','d','d','s',' ','<','x', 'a','d','d','s',' ','<','x','>',' ','t','o',' ','u','n','i',
'>',' ','t','o',' ','u','n','i','t',' ','p','a','t','h',#000, 't',' ','p','a','t','h',#000,'*','*','1','k','<','x','>','_',
'*','*','1','k','<','x','>','_','P','a','s','s',' ','<','x', 'P','a','s','s',' ','<','x','>',' ','t','o',' ','t','h','e',
'>',' ','t','o',' ','t','h','e',' ','l','i','n','k','e','r', ' ','l','i','n','k','e','r',#000,'*','*','1','L','_','s','e',
#000,'*','*','1','L','_','s','e','t',' ','l','a','n','g','u', 't',' ','l','a','n','g','u','a','g','e',#000,'*','*','2','L',
'a','g','e',#000,'*','*','2','L','D','_','g','e','r','m','a', 'D','_','g','e','r','m','a','n',#000,'*','*','2','L','E','_',
'n',#000,'*','*','2','L','E','_','e','n','g','l','i','s','h', 'e','n','g','l','i','s','h',#000,'*','*','1','l','_','w','r',
#000,'*','*','1','l','_','w','r','i','t','e',' ','l','o','g', 'i','t','e',' ','l','o','g','o',#000,'*','*','1','i','_','i',
'o',#000,'*','*','1','i','_','i','n','f','o','r','m','a','t', 'n','f','o','r','m','a','t','i','o','n',#000,'*','*','1','n',
'i','o','n',#000,'*','*','1','n','_','d','o','n',#039,'t',' ', '_','d','o','n',#039,'t',' ','r','e','a','d',' ','t','h','e',
'r','e','a','d',' ','t','h','e',' ','d','e','f','a','u','l', ' ','d','e','f','a','u','l','t',' ','c','o','n','f','i','g',
't',' ','c','o','n','f','i','g',' ','f','i','l','e',#000,'*', ' ','f','i','l','e',#000,'*','*','1','o','<','x','>','_','c',
'*','1','o','<','x','>','_','c','h','a','n','g','e',' ','t', 'h','a','n','g','e',' ','t','h','e',' ','n','a','m','e',' ',
'h','e',' ','n','a','m','e',' ','o','f',' ','t','h','e',' ', 'o','f',' ','t','h','e',' ','e','x','e','c','u','t','a','b',
'e','x','e','c','u','t','a','b','l','e',' ','p','r','o','d', 'l','e',' ','p','r','o','d','u','c','e','d',' ','t','o',' ',
'u','c','e','d',' ','t','o',' ','<','x','>',#000,'*','*','1', '<','x','>',#000,'*','*','1','p','g','_','g','e','n','e','r',
'p','g','_','g','e','n','e','r','a','t','e',' ','p','r','o', 'a','t','e',' ','p','r','o','f','i','l','e',' ','c','o','d',
'f','i','l','e',' ','c','o','d','e',' ','f','o','r',' ','g', 'e',' ','f','o','r',' ','g','p','r','o','f',#000,'*','L','1',
'p','r','o','f',#000,'*','L','1','P','_','u','s','e',' ','p', 'P','_','u','s','e',' ','p','i','p','e','s',' ','i','n','s',
'i','p','e','s',' ','i','n','s','t','e','a','d',' ','o','f', 't','e','a','d',' ','o','f',' ','c','r','e','a','t','i','n',
' ','c','r','e','a','t','i','n','g',' ','t','e','m','p','o', 'g',' ','t','e','m','p','o','r','a','r','y',' ','a','s','s',
'r','a','r','y',' ','a','s','s','e','m','b','l','e','r',' ', 'e','m','b','l','e','r',' ','f','i','l','e','s',#000,'*','*',
'f','i','l','e','s',#000,'*','*','1','S','_','s','y','n','t', '1','S','_','s','y','n','t','a','x',' ','o','p','t','i','o',
'a','x',' ','o','p','t','i','o','n','s',#000,'*','*','2','S', 'n','s',#000,'*','*','2','S','2','_','s','w','i','t','c','h',
'2','_','s','w','i','t','c','h',' ','s','o','m','e',' ','D', ' ','s','o','m','e',' ','D','e','l','p','h','i',' ','2',' ',
'e','l','p','h','i',' ','2',' ','e','x','t','e','n','s','i', 'e','x','t','e','n','s','i','o','n',' ','o','n',#000,'*','*',
'o','n',' ','o','n',#000,'*','*','2','S','c','_','s','u','p', '2','S','c','_','s','u','p','p','o','r','t','s',' ','o','p',
'p','o','r','t','s',' ','o','p','e','r','a','t','o','r','s', 'e','r','a','t','o','r','s',' ','l','i','k','e',' ','C',' ',
' ','l','i','k','e',' ','C',' ','(','*','=',',','+','=',',', '(','*','=',',','+','=',',','/','=',' ','a','n','d',' ','-',
'/','=',' ','a','n','d',' ','-','=',')',#000,'*','*','2','S', '=',')',#000,'*','*','2','S','d','_','c','o','m','p','i','l',
'd','_','c','o','m','p','i','l','e','r',' ','d','i','s','p', 'e','r',' ','d','i','s','p','o','s','e','s',' ','a','s','m',
'o','s','e','s',' ','a','s','m',' ','l','i','s','t','s',' ', ' ','l','i','s','t','s',' ','(','u','s','e','s',' ','l','e',
'(','u','s','e','s',' ','l','e','s','s',' ','m','e','m','o', 's','s',' ','m','e','m','o','r','y',' ','b','u','t',' ','s',
'r','y',' ','b','u','t',' ','s','l','o','w','e','r',')',#000, 'l','o','w','e','r',')',#000,'*','*','2','S','e','_','c','o',
'*','*','2','S','e','_','c','o','m','p','i','l','e','r',' ', 'm','p','i','l','e','r',' ','s','t','o','p','s',' ','a','f',
's','t','o','p','s',' ','a','f','t','e','r',' ','t','h','e', 't','e','r',' ','t','h','e',' ','f','i','r','s','t',' ','e',
' ','f','i','r','s','t',' ','e','r','r','o','r',#000,'*','*', 'r','r','o','r',#000,'*','*','2','S','g','_','a','l','l','o',
'2','S','g','_','a','l','l','o','w','s',' ','L','A','B','E', 'w','s',' ','L','A','B','E','L',' ','a','n','d',' ','G','O',
'L',' ','a','n','d',' ','G','O','T','O',#000,'*','*','2','S', 'T','O',#000,'*','*','2','S','i','_','s','u','p','p','o','r',
'i','_','s','u','p','p','o','r','t',' ','C','+','+',' ','s', 't',' ','C','+','+',' ','s','t','l','y','e','d',' ','I','N',
't','l','y','e','d',' ','I','N','L','I','N','E',#000,'*','*', 'L','I','N','E',#000,'*','*','2','S','m','_','s','u','p','p',
'2','S','m','_','s','u','p','p','o','r','t',' ','m','a','c', 'o','r','t',' ','m','a','c','r','o','s',' ','l','i','k','e',
'r','o','s',' ','l','i','k','e',' ','C',' ','(','g','l','o', ' ','C',' ','(','g','l','o','b','a','l',')',#000,'*','*','2',
'b','a','l',')',#000,'*','*','2','S','o','_','t','r','i','e', 'S','o','_','t','r','i','e','s',' ','t','o',' ','b','e',' ',
's',' ','t','o',' ','b','e',' ','T','P','/','B','P',' ','7', 'T','P','/','B','P',' ','7','.','0',' ','c','o','m','p','a',
'.','0',' ','c','o','m','p','a','t','i','b','l','e',#000,'*', 't','i','b','l','e',#000,'*','*','2','S','s','_','c','o','n',
'*','2','S','s','_','c','o','n','s','t','r','u','c','t','o', 's','t','r','u','c','t','o','r',' ','n','a','m','e',' ','m',
'r',' ','n','a','m','e',' ','m','u','s','t',' ','b','e',' ', 'u','s','t',' ','b','e',' ','i','n','i','t',' ','(','d','e',
'i','n','i','t',' ','(','d','e','s','t','r','u','c','t','o', 's','t','r','u','c','t','o','r',' ','m','u','s','t',' ','b',
'r',' ','m','u','s','t',' ','b','e',' ','d','o','n','e',')', 'e',' ','d','o','n','e',')',#000,'*','*','2','S','t','_','a',
#000,'*','*','2','S','t','_','a','l','l','o','w','s',' ','s', 'l','l','o','w','s',' ','s','t','a','t','i','c',' ','k','e',
't','a','t','i','c',' ','k','e','y','w','o','r','d',' ','i', 'y','w','o','r','d',' ','i','n',' ','o','b','j','e','c','t',
'n',' ','o','b','j','e','c','t','s',#000,'*','*','1','s','_', 's',#000,'*','*','1','s','_','d','o','n',#039,'t',' ','c','a',
'd','o','n',#039,'t',' ','c','a','l','l',' ','a','s','s','e', 'l','l',' ','a','s','s','e','m','b','l','e','r',' ','a','n',
'm','b','l','e','r',' ','a','n','d',' ','l','i','n','k','e', 'd',' ','l','i','n','k','e','r',' ','(','o','n','l','y',' ',
'r',' ','(','o','n','l','y',' ','w','i','t','h',' ','-','a', 'w','i','t','h',' ','-','a',')',#000,'*','*','1','T','<','x',
')',#000,'*','*','1','T','<','x','>','_','T','a','r','g','e', '>','_','T','a','r','g','e','t',' ','o','p','e','r','a','t',
't',' ','o','p','e','r','a','t','i','n','g',' ','s','y','s', 'i','n','g',' ','s','y','s','t','e','m',#000,'3','*','2','T',
't','e','m',#000,'3','*','2','T','G','O','3','2','V','1','_', 'G','O','3','2','V','1','_','v','e','r','s','i','o','n',' ',
'v','e','r','s','i','o','n',' ','1',' ','o','f',' ','D','J', '1',' ','o','f',' ','D','J',' ','D','e','l','o','r','i','e',
' ','D','e','l','o','r','i','e',' ','D','O','S',' ','e','x', ' ','D','O','S',' ','e','x','t','e','n','d','e','r',#000,'3',
't','e','n','d','e','r',#000,'3','*','2','T','G','O','3','2', '*','2','T','G','O','3','2','V','2','_','v','e','r','s','i',
'V','2','_','v','e','r','s','i','o','n',' ','2',' ','o','f', 'o','n',' ','2',' ','o','f',' ','D','J',' ','D','e','l','o',
' ','D','J',' ','D','e','l','o','r','i','e',' ','D','O','S', 'r','i','e',' ','D','O','S',' ','e','x','t','e','n','d','e',
' ','e','x','t','e','n','d','e','r',#000,'3','*','2','T','L', 'r',#000,'3','*','2','T','L','I','N','U','X','_','L','i','n',
'I','N','U','X','_','L','i','n','u','x',#000,'3','*','2','T', 'u','x',#000,'3','*','2','T','O','S','2','_','O','S','/','2',
'O','S','2','_','O','S','/','2',' ','2','.','x',#000,'3','*', ' ','2','.','x',#000,'3','*','2','T','W','i','n','3','2','_',
'2','T','W','i','n','3','2','_','W','i','n','d','o','w','s', 'W','i','n','d','o','w','s',' ','3','2',' ','B','i','t',#000,
' ','3','2',' ','B','i','t',#000,'6','*','2','T','A','M','I', '6','*','2','T','A','M','I','G','A','_','C','o','m','m','o',
'G','A','_','C','o','m','m','o','d','o','r','e',' ','A','m', 'd','o','r','e',' ','A','m','i','g','a',#000,'6','*','2','T',
'i','g','a',#000,'6','*','2','T','A','T','A','R','I','_','A', 'A','T','A','R','I','_','A','t','a','r','i',' ','S','T','/',
't','a','r','i',' ','S','T','/','S','T','e','/','T','T',#000, 'S','T','e','/','T','T',#000,'6','*','2','T','M','A','C','O',
'6','*','2','T','M','A','C','O','S','_','M','a','c','i','n', 'S','_','M','a','c','i','n','t','o','s','h',' ','m','6','8',
't','o','s','h',' ','m','6','8','k',#000,'6','*','2','T','L', 'k',#000,'6','*','2','T','L','I','N','U','X','_','L','i','n',
'I','N','U','X','_','L','i','n','u','x','-','6','8','k',#000, 'u','x','-','6','8','k',#000,'*','*','1','u','<','x','>','_',
'*','*','1','u','<','x','>','_','u','n','d','e','f','i','n', 'u','n','d','e','f','i','n','e','s',' ','t','h','e',' ','s',
'e','s',' ','t','h','e',' ','s','y','m','b','o','l',' ','<', 'y','m','b','o','l',' ','<','x','>',#000,'*','*','1','U','_',
'x','>',#000,'*','*','1','U','_','u','n','i','t',' ','o','p', 'u','n','i','t',' ','o','p','t','i','o','n','s',#000,'*','*',
't','i','o','n','s',#000,'*','*','2','U','l','s','_','m','a', '2','U','l','s','_','m','a','k','e',' ','s','t','a','t','i',
'k','e',' ','s','t','a','t','i','c',' ','l','i','b','r','a', 'c',' ','l','i','b','r','a','r','y',' ','f','r','o','m',' ',
'u','n','i','t',#000,'*','*','2','U','l','d','_','m','a','k',
'e',' ','d','y','n','a','m','i','c',' ','l','i','b','r','a',
'r','y',' ','f','r','o','m',' ','u','n','i','t',#000,'*','*', 'r','y',' ','f','r','o','m',' ','u','n','i','t',#000,'*','*',
'2','U','l','d','_','m','a','k','e',' ','d','y','n','a','m', '2','U','n','_','d','o','n',#039,'t',' ','c','h','e','c','k',
'i','c',' ','l','i','b','r','a','r','y',' ','f','r','o','m', ' ','t','h','e',' ','u','n','i','t',' ','n','a','m','e',#000,
' ','u','n','i','t',#000,'*','*','2','U','n','_','d','o','n', '*','*','2','U','p','<','x','>','_','s','a','m','e',' ','a',
#039,'t',' ','c','h','e','c','k',' ','t','h','e',' ','u','n', 's',' ','-','F','u','<','x','>',#000,'*','*','2','U','s','_',
'i','t',' ','n','a','m','e',#000,'*','*','2','U','p','<','x', 'c','o','m','p','i','l','e',' ','a',' ','s','y','s','t','e',
'>','_','s','a','m','e',' ','a','s',' ','-','F','u','<','x', 'm',' ','u','n','i','t',#000,'*','*','1','v','<','x','>','_',
'>',#000,'*','*','2','U','s','_','c','o','m','p','i','l','e', 'B','e',' ','v','e','r','b','o','s','e','.',' ','<','x','>',
' ','a',' ','s','y','s','t','e','m',' ','u','n','i','t',#000, ' ','i','s',' ','a',' ','c','o','m','b','i','n','a','t','i',
'*','*','1','v','<','x','>','_','B','e',' ','v','e','r','b', 'o','n',' ','o','f',' ','t','h','e',' ','f','o','l','l','o',
'o','s','e','.',' ','<','x','>',' ','i','s',' ','a',' ','c', 'w','i','n','g',' ','l','e','t','t','e','r','s',' ',':',#000,
'o','m','b','i','n','a','t','i','o','n',' ','o','f',' ','t', '*','*','2','*','_','e',' ',':',' ','S','h','o','w',' ','e',
'h','e',' ','f','o','l','l','o','w','i','n','g',' ','l','e', 'r','r','o','r','s',' ','(','d','e','f','a','u','l','t',')',
't','t','e','r','s',' ',':',#000,'*','*','2','*','_','e',' ', ' ',' ',' ',' ',' ',' ',' ','d',' ',':',' ','S','h','o','w',
':',' ','S','h','o','w',' ','e','r','r','o','r','s',' ','(', ' ','d','e','b','u','g',' ','i','n','f','o',#000,'*','*','2',
'd','e','f','a','u','l','t',')',' ',' ',' ',' ',' ',' ',' ', '*','_','w',' ',':',' ','S','h','o','w',' ','w','a','r','n',
'd',' ',':',' ','S','h','o','w',' ','d','e','b','u','g',' ', 'i','n','g','s',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
'i','n','f','o',#000,'*','*','2','*','_','w',' ',':',' ','S', ' ',' ',' ',' ','u',' ',':',' ','S','h','o','w',' ','u','s',
'h','o','w',' ','w','a','r','n','i','n','g','s',' ',' ',' ', 'e','d',' ','f','i','l','e','s',#000,'*','*','2','*','_','n',
' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','u',' ',':', ' ',':',' ','S','h','o','w',' ','n','o','t','e','s',' ',' ',
' ','S','h','o','w',' ','u','s','e','d',' ','f','i','l','e', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
's',#000,'*','*','2','*','_','n',' ',':',' ','S','h','o','w', ' ','t',' ',':',' ','S','h','o','w',' ','t','r','i','e','d',
' ','n','o','t','e','s',' ',' ',' ',' ',' ',' ',' ',' ',' ', ' ','f','i','l','e','s',#000,'*','*','2','*','_','h',' ',':',
' ',' ',' ',' ',' ',' ',' ',' ',' ','t',' ',':',' ','S','h', ' ','S','h','o','w',' ','h','i','n','t','s',' ',' ',' ',' ',
'o','w',' ','t','r','i','e','d',' ','f','i','l','e','s',#000, ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','m',
'*','*','2','*','_','h',' ',':',' ','S','h','o','w',' ','h', ' ',':',' ','S','h','o','w',' ','d','e','f','i','n','e','d',
'i','n','t','s',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ', ' ','m','a','c','r','o','s',#000,'*','*','2','*','_','i',' ',
' ',' ',' ',' ',' ',' ',' ','m',' ',':',' ','S','h','o','w', ':',' ','S','h','o','w',' ','g','e','n','e','r','a','l',' ',
' ','d','e','f','i','n','e','d',' ','m','a','c','r','o','s', 'i','n','f','o',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
#000,'*','*','2','*','_','i',' ',':',' ','S','h','o','w',' ', 'p',' ',':',' ','S','h','o','w',' ','c','o','m','p','i','l',
'g','e','n','e','r','a','l',' ','i','n','f','o',' ',' ',' ', 'e','d',' ','p','r','o','c','e','d','u','r','e','s',#000,'*',
' ',' ',' ',' ',' ',' ',' ',' ','p',' ',':',' ','S','h','o', '*','2','*','_','l',' ',':',' ','S','h','o','w',' ','l','i',
'w',' ','c','o','m','p','i','l','e','d',' ','p','r','o','c', 'n','e','n','u','m','b','e','r','s',' ',' ',' ',' ',' ',' ',
'e','d','u','r','e','s',#000,'*','*','2','*','_','l',' ',':', ' ',' ',' ',' ',' ',' ','c',' ',':',' ','S','h','o','w',' ',
' ','S','h','o','w',' ','l','i','n','e','n','u','m','b','e', 'c','o','n','d','i','t','i','o','n','a','l','s',#000,'*','*',
'r','s',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','c', '2','*','_','a',' ',':',' ','S','h','o','w',' ','e','v','e',
' ',':',' ','S','h','o','w',' ','c','o','n','d','i','t','i', 'r','y','t','h','i','n','g',' ',' ',' ',' ',' ',' ',' ',' ',
'o','n','a','l','s',#000,'*','*','2','*','_','a',' ',':',' ', ' ',' ',' ',' ',' ','0',' ',':',' ','S','h','o','w',' ','n',
'S','h','o','w',' ','e','v','e','r','y','t','h','i','n','g', 'o','t','h','i','n','g',' ','(','e','x','c','e','p','t',' ',
' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0',' ', 'e','r','r','o','r','s',')',#000,'*','*','1','X','_','e','x',
':',' ','S','h','o','w',' ','n','o','t','h','i','n','g',' ', 'e','c','u','t','a','b','l','e',' ','o','p','t','i','o','n',
'(','e','x','c','e','p','t',' ','e','r','r','o','r','s',')', 's',#000,'*','L','2','X','c','_','l','i','n','k',' ','w','i',
#000,'*','*','1','X','_','e','x','e','c','u','t','a','b','l', 't','h',' ','t','h','e',' ','c',' ','l','i','b','r','a','r',
'e',' ','o','p','t','i','o','n','s',#000,'*','L','2','X','c', 'y',#000,'*','*','2','X','s','_','s','t','r','i','p',' ','a',
'_','l','i','n','k',' ','w','i','t','h',' ','t','h','e',' ', 'l','l',' ','s','y','m','b','o','l','s',' ','f','r','o','m',
'c',' ','l','i','b','r','a','r','y',#000,'*','*','2','X','s', ' ','e','x','e','c','u','t','a','b','l','e',#000,'*','*','0',
'_','s','t','r','i','p',' ','a','l','l',' ','s','y','m','b', '*','_','P','r','o','c','e','s','s','o','r',' ','s','p','e',
'o','l','s',' ','f','r','o','m',' ','e','x','e','c','u','t', 'c','i','f','i','c',' ','o','p','t','i','o','n','s',':',#000,
'a','b','l','e',#000,'*','*','0','*','_','P','r','o','c','e', '3','*','1','A','_','o','u','t','p','u','t',' ','f','o','r',
's','s','o','r',' ','s','p','e','c','i','f','i','c',' ','o', 'm','a','t',#000,'3','*','2','A','o','_','c','o','f','f',' ',
'p','t','i','o','n','s',':',#000,'3','*','1','A','_','o','u', 'f','i','l','e',' ','u','s','i','n','g',' ','G','N','U',' ',
't','p','u','t',' ','f','o','r','m','a','t',#000,'3','*','2', 'A','S',#000,'3','*','2','A','n','a','s','m','c','o','f','f',
'A','o','_','c','o','f','f',' ','f','i','l','e',' ','u','s', '_','c','o','f','f',' ','f','i','l','e',' ','u','s','i','n',
'i','n','g',' ','G','N','U',' ','A','S',#000,'3','*','2','A', 'g',' ','N','a','s','m',#000,'3','*','2','A','n','a','s','m',
'n','a','s','m','c','o','f','f','_','c','o','f','f',' ','f', 'e','l','f','_','e','l','f','3','2',' ','(','l','i','n','u',
'i','l','e',' ','u','s','i','n','g',' ','N','a','s','m',#000, 'x',')',' ','f','i','l','e',' ','u','s','i','n','g',' ','N',
'3','*','2','A','n','a','s','m','e','l','f','_','e','l','f', 'a','s','m',#000,'3','*','2','A','n','a','s','m','o','b','j',
'3','2',' ','(','l','i','n','u','x',')',' ','f','i','l','e', '_','o','b','j',' ','f','i','l','e',' ','u','s','i','n','g',
' ','u','s','i','n','g',' ','N','a','s','m',#000,'3','*','2', ' ','N','a','s','m',#000,'3','*','2','A','m','a','s','m','_',
'A','n','a','s','m','o','b','j','_','o','b','j',' ','f','i', 'o','b','j',' ','u','s','i','n','g',' ','M','a','s','m',' ',
'l','e',' ','u','s','i','n','g',' ','N','a','s','m',#000,'3', '(','M','i','r','c','o','s','o','f','t',')',#000,'3','*','2',
'*','2','A','m','a','s','m','_','o','b','j',' ','u','s','i', 'A','t','a','s','m','_','o','b','j',' ','u','s','i','n','g',
'n','g',' ','M','a','s','m',' ','(','M','i','r','c','o','s', ' ','T','a','s','m',' ','(','B','o','r','l','a','n','d',')',
'o','f','t',')',#000,'3','*','2','A','t','a','s','m','_','o', #000,'3','*','1','R','_','a','s','s','e','m','b','l','e','r',
'b','j',' ','u','s','i','n','g',' ','T','a','s','m',' ','(', ' ','r','e','a','d','i','n','g',' ','s','t','y','l','e',#000,
'B','o','r','l','a','n','d',')',#000,'3','*','1','R','_','a', '3','*','2','R','a','t','t','_','r','e','a','d',' ','A','T',
's','s','e','m','b','l','e','r',' ','r','e','a','d','i','n', '&','T',' ','s','t','y','l','e',' ','a','s','s','e','m','b',
'g',' ','s','t','y','l','e',#000,'3','*','2','R','a','t','t', 'l','e','r',#000,'3','*','2','R','i','n','t','e','l','_','r',
'_','r','e','a','d',' ','A','T','&','T',' ','s','t','y','l', 'e','a','d',' ','I','n','t','e','l',' ','s','t','y','l','e',
'e',' ','a','s','s','e','m','b','l','e','r',#000,'3','*','2', ' ','a','s','s','e','m','b','l','e','r',#000,'3','*','2','R',
'R','i','n','t','e','l','_','r','e','a','d',' ','I','n','t', 'd','i','r','e','c','t','_','c','o','p','y',' ','a','s','s',
'e','l',' ','s','t','y','l','e',' ','a','s','s','e','m','b', 'e','m','b','l','e','r',' ','t','e','x','t',' ','d','i','r',
'l','e','r',#000,'3','*','2','R','d','i','r','e','c','t','_', 'e','c','t','l','y',' ','t','o',' ','a','s','s','e','m','b',
'c','o','p','y',' ','a','s','s','e','m','b','l','e','r',' ', 'l','e','r',' ','f','i','l','e',#000,'3','*','1','O','_','o',
't','e','x','t',' ','d','i','r','e','c','t','l','y',' ','t', 'p','t','i','m','i','z','a','t','i','o','n','s',#000,'3','*',
'o',' ','a','s','s','e','m','b','l','e','r',' ','f','i','l', '2','O','a','_','s','i','m','p','l','e',' ','o','p','t','i',
'e',#000,'3','*','1','O','_','o','p','t','i','m','i','z','a', 'm','i','z','a','t','i','o','n','s',#000,'3','*','2','O','g',
't','i','o','n','s',#000,'3','*','2','O','a','_','s','i','m', '_','o','p','t','i','m','i','z','e',' ','f','o','r',' ','s',
'p','l','e',' ','o','p','t','i','m','i','z','a','t','i','o', 'i','z','e',#000,'3','*','2','O','G','_','o','p','t','i','m',
'n','s',#000,'3','*','2','O','g','_','o','p','t','i','m','i', 'i','z','e',' ','f','o','r',' ','t','i','m','e',#000,'3','*',
'z','e',' ','f','o','r',' ','s','i','z','e',#000,'3','*','2', '2','O','x','_','o','p','t','i','m','i','z','e',' ','m','a',
'O','G','_','o','p','t','i','m','i','z','e',' ','f','o','r', 'x','i','m','u','m',#000,'3','*','2','O','z','_','u','n','c',
' ','t','i','m','e',#000,'3','*','2','O','x','_','o','p','t', 'e','r','t','a','i','n',' ','o','p','t','i','m','i','z','e',
'i','m','i','z','e',' ','m','a','x','i','m','u','m',#000,'3', 's',' ','(','s','e','e',' ','d','o','c','s',')',#000,'3','*',
'*','2','O','z','_','u','n','c','e','r','t','a','i','n',' ', '2','O','2','_','o','p','t','i','m','i','z','e',' ','f','o',
'o','p','t','i','m','i','z','e','s',' ','(','s','e','e',' ', 'r',' ','t','h','e',' ','P','e','n','t','i','u','m',' ','I',
'd','o','c','s',')',#000,'3','*','2','O','2','_','o','p','t', 'I',' ','(','t','m',')',#000,'3','*','2','O','3','_','o','p',
'i','m','i','z','e',' ','f','o','r',' ','t','h','e',' ','P', 't','i','m','i','z','e',' ','f','o','r',' ','t','h','e',' ',
'e','n','t','i','u','m',' ','I','I',' ','(','t','m',')',#000, 'i','3','8','6',#000,'3','*','2','O','4','_','o','p','t','i',
'3','*','2','O','3','_','o','p','t','i','m','i','z','e',' ', 'm','i','z','e',' ','f','o','r',' ','t','h','e',' ','i','4',
'f','o','r',' ','t','h','e',' ','i','3','8','6',#000,'3','*', '8','6',#000,'3','*','2','O','5','_','o','p','t','i','m','i',
'2','O','4','_','o','p','t','i','m','i','z','e',' ','f','o', 'z','e',' ','f','o','r',' ','t','h','e',' ','P','e','n','t',
'r',' ','t','h','e',' ','i','4','8','6',#000,'3','*','2','O', 'i','u','m',' ','(','t','m',')',#000,'3','*','2','O','6','_',
'5','_','o','p','t','i','m','i','z','e',' ','f','o','r',' ', 'o','p','t','i','m','i','z','e',' ','f','o','r',' ','t','h',
't','h','e',' ','P','e','n','t','i','u','m',' ','(','t','m', 'e',' ','P','e','n','t','i','u','m','P','r','o',' ','(','t',
')',#000,'3','*','2','O','6','_','o','p','t','i','m','i','z', 'm',')',#000,'3','*','2','O','7','_','o','p','t','i','m','i',
'e',' ','f','o','r',' ','t','h','e',' ','P','e','n','t','i', 'z','e',' ','f','o','r',' ','t','h','e',' ','C','y','r','i',
'u','m','P','r','o',' ','(','t','m',')',#000,'3','*','2','O', 'x',' ','6','x','8','6',#000,'3','*','2','O','8','_','o','p',
'7','_','o','p','t','i','m','i','z','e',' ','f','o','r',' ', 't','i','m','i','z','e',' ','f','o','r',' ','t','h','e',' ',
't','h','e',' ','C','y','r','i','x',' ','6','x','8','6',#000, 'A','M','D',' ','K','6',#000,'6','*','1','A','_','o','u','t',
'3','*','2','O','8','_','o','p','t','i','m','i','z','e',' ', 'p','u','t',' ','f','o','r','m','a','t',#000,'6','*','2','A',
'f','o','r',' ','t','h','e',' ','A','M','D',' ','K','6',#000, 'o','_','U','n','i','x',' ','o','-','f','i','l','e',' ','u',
'6','*','1','A','_','o','u','t','p','u','t',' ','f','o','r', 's','i','n','g',' ','G','N','U',' ','A','S',#000,'6','*','2',
'm','a','t',#000,'6','*','2','A','o','_','U','n','i','x',' ', 'A','g','a','s','_','G','N','U',' ','M','o','t','o','r','o',
'o','-','f','i','l','e',' ','u','s','i','n','g',' ','G','N', 'l','a',' ','a','s','s','e','m','b','l','e','r',#000,'6','*',
'U',' ','A','S',#000,'6','*','2','A','g','a','s','_','G','N', '2','A','m','i','t','_','M','I','T',' ','S','y','n','t','a',
'U',' ','M','o','t','o','r','o','l','a',' ','a','s','s','e', 'x',' ','(','o','l','d',' ','G','A','S',')',#000,'6','*','2',
'm','b','l','e','r',#000,'6','*','2','A','m','i','t','_','M', 'A','m','o','t','_','S','t','a','n','d','a','r','d',' ','M',
'I','T',' ','S','y','n','t','a','x',' ','(','o','l','d',' ', 'o','t','o','r','o','l','a',' ','a','s','s','e','m','b','l',
'G','A','S',')',#000,'6','*','2','A','m','o','t','_','S','t', 'e','r',#000,'6','*','1','O','_','o','p','t','i','m','i','z',
'a','n','d','a','r','d',' ','M','o','t','o','r','o','l','a', 'a','t','i','o','n','s',#000,'6','*','2','O','a','_','s','i',
' ','a','s','s','e','m','b','l','e','r',#000,'6','*','1','O', 'm','p','l','e',' ','o','p','t','i','m','i','z','a','t','i',
'_','o','p','t','i','m','i','z','a','t','i','o','n','s',#000, 'o','n','s',#000,'6','*','2','O','g','_','o','p','t','i','m',
'6','*','2','O','a','_','s','i','m','p','l','e',' ','o','p', 'i','z','e',' ','f','o','r',' ','s','i','z','e',#000,'6','*',
't','i','m','i','z','a','t','i','o','n','s',#000,'6','*','2', '2','O','G','_','o','p','t','i','m','i','z','e',' ','f','o',
'O','g','_','o','p','t','i','m','i','z','e',' ','f','o','r', 'r',' ','t','i','m','e',#000,'6','*','2','O','x','_','o','p',
' ','s','i','z','e',#000,'6','*','2','O','G','_','o','p','t', 't','i','m','i','z','e',' ','m','a','x','i','m','u','m',#000,
'i','m','i','z','e',' ','f','o','r',' ','t','i','m','e',#000, '6','*','2','O','2','_','t','a','r','g','e','t',' ','i','s',
'6','*','2','O','x','_','o','p','t','i','m','i','z','e',' ', ' ','a',' ','M','C','6','8','0','2','0','+',' ','p','r','o',
'm','a','x','i','m','u','m',#000,'6','*','2','O','2','_','t', 'c','e','s','s','o','r',#000,'*','*','1','*','_',#000,'*','*',
'a','r','g','e','t',' ','i','s',' ','a',' ','M','C','6','8', '1','?','_','s','h','o','w','s',' ','t','h','i','s',' ','h',
'0','2','0','+',' ','p','r','o','c','e','s','s','o','r',#000, 'e','l','p',#000,'*','*','1','h','_','s','h','o','w','s',' ',
'*','*','1','*','_',#000,'*','*','1','?','_','s','h','o','w', 't','h','i','s',' ','h','e','l','p',' ','w','i','t','h','o',
's',' ','t','h','i','s',' ','h','e','l','p',#000,'*','*','1', 'u','t',' ','w','a','i','t','i','n','g',#000);
'h','_','s','h','o','w','s',' ','t','h','i','s',' ','h','e',
'l','p',' ','w','i','t','h','o','u','t',' ','w','a','i','t',
'i','n','g',#000);

View File

@ -898,14 +898,24 @@ unit pdecl;
if (((childof^.options and oois_class)<>0) and not is_a_class) or if (((childof^.options and oois_class)<>0) and not is_a_class) or
(((childof^.options and oois_class)=0) and is_a_class) then (((childof^.options and oois_class)=0) and is_a_class) then
Message(parser_e_mix_of_classes_and_objects); Message(parser_e_mix_of_classes_and_objects);
consume(RKLAMMER);
if assigned(fd) then if assigned(fd) then
begin begin
{ the forward of the child must be resolved to get
correct field addresses
}
if (childof^.options and oo_isforward)<>0 then
Message1(parser_forward_declaration_must_be_resolved,childof^.name^);
fd^.childof:=childof; fd^.childof:=childof;
aktclass:=fd; aktclass:=fd;
{ ajust the size, because the child could be also
forward defined
}
aktclass^.publicsyms^.datasize:=
aktclass^.publicsyms^.datasize-4+childof^.publicsyms^.datasize;
end end
else else
aktclass:=new(pobjectdef,init(n,childof)); aktclass:=new(pobjectdef,init(n,childof));
consume(RKLAMMER);
end end
{ if no parent class, then a class get tobject as parent } { if no parent class, then a class get tobject as parent }
else if is_a_class then else if is_a_class then
@ -925,8 +935,18 @@ unit pdecl;
childof:=class_tobject; childof:=class_tobject;
if assigned(fd) then if assigned(fd) then
begin begin
{ the forward of the child must be resolved to get
correct field addresses
}
if (childof^.options and oo_isforward)<>0 then
Message1(parser_forward_declaration_must_be_resolved,childof^.name^);
aktclass:=fd; aktclass:=fd;
aktclass^.childof:=childof; aktclass^.childof:=childof;
{ ajust the size, because the child could be also
forward defined
}
aktclass^.publicsyms^.datasize:=
aktclass^.publicsyms^.datasize-4+childof^.publicsyms^.datasize;
end end
else else
aktclass:=new(pobjectdef,init(n,childof)); aktclass:=new(pobjectdef,init(n,childof));
@ -1777,7 +1797,11 @@ unit pdecl;
end. end.
{ {
$Log$ $Log$
Revision 1.20 1998-05-28 14:35:54 peter Revision 1.21 1998-06-03 22:14:19 florian
* problem with sizes of classes fixed (if the anchestor was declared
forward, the compiler doesn't update the child classes size)
Revision 1.20 1998/05/28 14:35:54 peter
* nicer error message when no id is used after var * nicer error message when no id is used after var
Revision 1.19 1998/05/23 01:21:19 peter Revision 1.19 1998/05/23 01:21:19 peter

View File

@ -1062,31 +1062,31 @@
regable:=false; regable:=false;
end end
else if owner^.symtabletype in [recordsymtable,objectsymtable] then else if owner^.symtabletype in [recordsymtable,objectsymtable] then
begin begin
{ align record and object fields } { align record and object fields }
if aktpackrecords=2 then if aktpackrecords=2 then
begin begin
{ align to word } { align to word }
modulo:=owner^.datasize and 3; modulo:=owner^.datasize and 3;
if (l>=2) and ((modulo and 1)<>0) then if (l>=2) and ((modulo and 1)<>0) then
inc(owner^.datasize); inc(owner^.datasize);
end end
else if aktpackrecords=4 then else if aktpackrecords=4 then
begin begin
{ align to dword } { align to dword }
if (l>=3) and (modulo<>0) then if (l>=3) and (modulo<>0) then
inc(owner^.datasize,4-modulo) inc(owner^.datasize,4-modulo)
{ or word } { or word }
else if (l=2) and ((modulo and 1)<>0) then else if (l=2) and ((modulo and 1)<>0) then
inc(owner^.datasize) inc(owner^.datasize)
end; end;
address:=owner^.datasize; address:=owner^.datasize;
inc(owner^.datasize,l); inc(owner^.datasize,l);
{ this symbol can't be loaded to a register } { this symbol can't be loaded to a register }
regable:=false; regable:=false;
end end
else if owner^.symtabletype=parasymtable then else if owner^.symtabletype=parasymtable then
begin begin
address:=owner^.datasize; address:=owner^.datasize;
@ -1112,8 +1112,8 @@
address:=owner^.datasize; address:=owner^.datasize;
inc(owner^.datasize,l); inc(owner^.datasize,l);
end; end;
end end
end; end;
{$ifdef GDB} {$ifdef GDB}
function tvarsym.stabstring : pchar; function tvarsym.stabstring : pchar;
@ -1690,7 +1690,11 @@
{ {
$Log$ $Log$
Revision 1.2 1998-05-28 14:40:29 peter Revision 1.3 1998-06-03 22:14:20 florian
* problem with sizes of classes fixed (if the anchestor was declared
forward, the compiler doesn't update the child classes size)
Revision 1.2 1998/05/28 14:40:29 peter
* fixes for newppu, remake3 works now with it * fixes for newppu, remake3 works now with it
Revision 1.1 1998/05/27 19:45:09 peter Revision 1.1 1998/05/27 19:45:09 peter