Hi Ervin,

> Le 30 août 2020 à 20:21, Hegedüs Ervin <airw...@gmail.com> a écrit :
> 
> oh my... thanks, now it's clear.
> 
> Here is the result:
> 
> Starting parse
> [...]
> Entering state 1
> Stack now 0 1
> Reading a token
> Next token is token T_CONFIG_DIRECTIVE_ARGUMENT ()
> Parse error: syntax error in file badconf1.conf, line 1

It's not clear to me if you finally understood what's going on here.
So in case of doubt:

*Don't exit from yyerror*.  How can you expect the parser to clean
up anything if you exit?

Read again the calling conventions for yyparse.

Cheers!

Reply via email to