On 06/10/2013 03:06, Paul Ishenin wrote:

06.10.13, 3:08, Martin пишет:
On the other hand
var a: longint;
generates the same. Why?

Because Integer is an alias - inside compiler only the symbol is different for thise case and the definition is the same.
Yes, I know, I even wrote.

DW_TAG_base_type has DW_AT_name = longint. That is expected

DW_TAG_typedef   has DW_AT_name = longint. That I do *NOT* understand.
DW_TAG_typedef stands for the definition of "Integer", or does it not? If it does, then should not the name be "integer"?


DW_TAG_typedef  indicates that integer is a defined type
   type Integer: longint;

But then, why does it not as "integer" has name?

And why is it also present, if I use "var a: longint" ?

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to