mescc: Enhance struct support.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 4 May 2017 17:39:23 +0000 (19:39 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 4 May 2017 17:39:23 +0000 (19:39 +0200)
commit03211ee91df4505e5fbf61378d51686929bed4dc
tree72577b9bdbefd3db2197453f4a1f770c82291f96
parent0077c9aed6cdde7b19f64e68c5cb5fcdaa538f37
mescc: Enhance struct support.

* module/language/c99/compiler.mes (expr->accu): Remove struct scm
  hardcoding.
  (p-expr->type): New function.
  (ast->info): Support struct variable declaration without
  initializer.  Set struct type for all struct declarations.
module/language/c99/compiler.mes