mescc: Support typedef and many TCC declaration variants.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 25 May 2017 05:32:29 +0000 (07:32 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 25 May 2017 05:32:29 +0000 (07:32 +0200)
commitbade7d5519699edfc138e9047ba6ec421bab6fe0
treecc251ee1a84c40d4cdc38edcfca2863c8f7b1bbf
parent3b4e7cd8a8982b1cc059df3cbdbe2053ec87cbb3
mescc: Support typedef and many TCC declaration variants.

* module/language/c99/compiler.mes (ast->info): Register typedefs in types.
  (enum-def-list->constants): Support addition and substraction in
  enum field values.
  (get-type): New function.  Use throughout.
module/language/c99/compiler.mes