There is something wrong with entity parsing in work/preR13 branch.
See example: 
[shape.tar.gz](https://github.com/LibreDWG/libredwg/files/8691343/shape.tar.gz)
There are two entities:
* LOAD
* SHAPE

Parse only first entity, because bad number "num" in src/decode.c - https://github.com/LibreDWG/libredwg/blob/09607bb52479d69356d07346e795fd98b7b867b9/src/decode.c#L5653
There is num = 8 on begin
and then break in:
```
        if (num + 1 >= dwg->header_vars.numentities)
          break;
```
so parse only first entity
Issue with entity parsing in pre2.10
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Issue with entity parsing in pre2.10
Issue date:

--- start body ---
There is something wrong with entity parsing in work/preR13 branch.
See example: 
[shape.tar.gz](https://github.com/LibreDWG/libredwg/files/8691343/shape.tar.gz)
There are two entities:
* LOAD
* SHAPE

Parse only first entity, because bad number "num" in src/decode.c - https://github.com/LibreDWG/libredwg/blob/09607bb52479d69356d07346e795fd98b7b867b9/src/decode.c#L5653
There is num = 8 on begin
and then break in:
```
        if (num + 1 >= dwg->header_vars.numentities)
          break;
```
so parse only first entity
--- end body ---

None