source-position doesn't make any sense for types:
authorMatthias Braun <matze@braunis.de>
Sun, 26 Oct 2008 10:03:16 +0000 (10:03 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 26 Oct 2008 10:03:16 +0000 (10:03 +0000)
commitcfdd54ed11fdc4d9826b959d78f2d364bea9c41b
tree8176699a6e0a90ae55acab3e47535fd91a36ba34
parent4b296b72d81d0bef90142ebc28c9f19e51d1563c
source-position doesn't make any sense for types:
- atomic, pointer, function types are used throughout the program and always
  defined "on-the-fly" it's not possible to assign a correct source_position
- for struct, union and enum types we have to create a declaration_t anyway
  so they can get referenced by their name. In this case we can and should
  use the source_position of the declaration

[r23203]
ast2firm.c
parser.c
type_t.h
types.c