parser MAINTENANCE added an assert
parser MAINTENANCE added an assert

To make it clear that the following loop
will finish.

Fixes #417

PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang