peakwinter/python-nginx

Failing parsing without new line at the end of file

AlexNik opened this issue · 2 comments

Hello!

I'm using 1.5.5
It failed when parsing this file

user  nginx;

Here is the error: nginx.ParseError: Config syntax, missing ';' at index: 12

But works fine when there is a new line at the end:

user  nginx;

UPD
With many new lines there is the error too

user  nginx;


Should be corrected in 1.5.6. Thank you!