orangeduck / mpc

A Parser Combinator library for C
Other
2.67k stars 292 forks source link

Add documentation for ? and {d} in language approach. Fix EOL issues #96

Closed sphynx closed 5 years ago

sphynx commented 5 years ago

I was surprised by the lack of '?' operator in the grammar for language mode, but it turned out that it is in fact implemented, but not documented in README.md, so I fixed that.

Also, there were certain whitespace issues (maybe caused by merging previous pull requests?): most of the lines had Windows CR LF line endings, but some still had Unix line endings (just LF). I made that uniform (now all the lines have CR LF endings: 0x0D 0x0A).

orangeduck commented 5 years ago

Thanks!