diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-08 09:47:00 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-08 09:47:00 -0400 |
commit | 206a0e55ba61f28386590a58f53eca49a616e2ce (patch) | |
tree | 744e30b191fb58e52d713c26339035c52eb0099e | |
parent | 15cee065a57ed7c7f5272bb6b60f7518121ec4da (diff) | |
download | roux-206a0e55ba61f28386590a58f53eca49a616e2ce.tar.gz |
avoid gcc warning in emit
-rw-r--r-- | emit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emit.c b/emit.c index 02f5880..bbb89c3 100644 --- a/emit.c +++ b/emit.c @@ -249,9 +249,10 @@ Next: case '=': sz = KWIDE(i->cls) ? SLong : SWord; s--; - /* fall through */ + goto Ref; case 'D': case 'S': + sz = SLong; /* does not matter for floats */ Ref: c = *s++; ref = getarg(c, i); |