parsing: bring lots of goodies from OpenBSD' parse.y

This allows to solve the problem with the \n in the grammar (before
two following macro declaration were treated as invalid.  This also
brings in a nice `include' keyword.
This commit is contained in:
Omar Polo 2021-07-09 11:25:25 +00:00
parent a5d822e542
commit c39be742cf
2 changed files with 521 additions and 344 deletions

View File

@ -1,3 +1,7 @@
2021-07-09 Omar Polo <op@omarpolo.com>
* parse.y (STRING): add `include' directive
2021-07-08 Omar Polo <op@omarpolo.com>
* parse.y (option): rename `mime MIME EXT' to `map MIME to-ext EXT', but retain the old `mime' for compatibility.

861
parse.y

File diff suppressed because it is too large Load Diff