Soc2c: Fix 2 bugs in the C code generation.
The first one in Soc2cIdent.type_to_short_string when enum and int were both translated by "i" ; as a consequence, some different soc ctx get the same name. The second one was due to the fact that car ident in gao switches were printed incorrectly (missing "ctx->" or "node_no_mem_ctx."). nb: unexpected failures 162-> 149
Showing
- src/soc2c.ml 11 additions, 2 deletionssrc/soc2c.ml
- src/soc2cIdent.ml 2 additions, 2 deletionssrc/soc2cIdent.ml
- src/soc2cUtil.ml 13 additions, 1 deletionsrc/soc2cUtil.ml
- test/lus2lic.sum 25 additions, 25 deletionstest/lus2lic.sum
- test/lus2lic.time 1 addition, 1 deletiontest/lus2lic.time
- test/should_work/modes3x2_v2.lus 1 addition, 1 deletiontest/should_work/modes3x2_v2.lus
- test/should_work/modes3x2_v3.lus 1 addition, 1 deletiontest/should_work/modes3x2_v3.lus
Loading
Please register or sign in to comment