BenjaminSchaaf / sbnf

A BNF-style language for writing sublime-syntax files
MIT License
58 stars 6 forks source link

Release 0.6.3 detects syntax error in sbnf.sbnf on Windows #45

Closed deathaxe closed 1 year ago

deathaxe commented 1 year ago

Is the following parse error expected?

grafik

Just tried to compile sbnf.sbnf using sbnf package 0.6.3

BenjaminSchaaf commented 1 year ago

Looks like you're using windows newlines? That probably shouldn't break parsing though.

deathaxe commented 1 year ago

Just installed the package using Package Control, opened sbnf.sbnf and hit ctrl+b.

EDIT: Well, git globally translates linefeeds of cloned repos on Windows by default.

EDIT2: Explicitly setting unix style line endings, fixes it. IMHO should work with windows line feeds as well on windows.

BenjaminSchaaf commented 1 year ago

Fixed by 54273179186cc6475b66b16cc6e0fce3d66050e1