mescc: Support break in while.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 10 Apr 2017 04:59:50 +0000 (06:59 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 10 Apr 2017 04:59:50 +0000 (06:59 +0200)
commit39d334d51bbfbb543c406adffe79db7e671f549a
tree93f101aa553b2e79e7c143e6747b4146a7882c48
parent6009cf95fe8c69a8d64b2877f255877267234df4
mescc: Support break in while.

* module/language/c99/compiler.mes (make): Add break field.
  (.break): New function.
  (clone): Support break field.
  (ast->info): Support break.
* scaffold/t.c (test): Test it.
* scaffold/mini-mes.c (lookup_symbol_): Use it; remove goto workaround.
module/language/c99/compiler.mes
scaffold/mini-mes.c
scaffold/t.c