|
@@ -526,6 +526,8 @@ implementation
|
|
l:=tvarsym(srsym).getsize;
|
|
l:=tvarsym(srsym).getsize;
|
|
typedconstsym :
|
|
typedconstsym :
|
|
l:=ttypedconstsym(srsym).getsize;
|
|
l:=ttypedconstsym(srsym).getsize;
|
|
|
|
+ typesym:
|
|
|
|
+ l:=ttypesym(srsym).restype.def.size;
|
|
else
|
|
else
|
|
Message(scan_e_error_in_preproc_expr);
|
|
Message(scan_e_error_in_preproc_expr);
|
|
end;
|
|
end;
|
|
@@ -3239,8 +3241,11 @@ exit_label:
|
|
end.
|
|
end.
|
|
{
|
|
{
|
|
$Log$
|
|
$Log$
|
|
- Revision 1.84 2004-08-02 07:15:54 michael
|
|
|
|
- + Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives
|
|
|
|
|
|
+ Revision 1.85 2004-08-02 20:45:40 florian
|
|
|
|
+ * sizeof in the preprocessor handles types now as well
|
|
|
|
+
|
|
|
|
+ Revision 1.84 2004/08/02 07:15:54 michael
|
|
|
|
+ + Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives
|
|
|
|
|
|
Revision 1.83 2004/07/23 00:25:05 olle
|
|
Revision 1.83 2004/07/23 00:25:05 olle
|
|
+ Added compile time function OPTION(x) for MacPas
|
|
+ Added compile time function OPTION(x) for MacPas
|