parser: fix bug in syntax checker on starred fields