robur-coop / miragevpn

An opinionated implementation of the OpenVPN protocol
BSD 2-Clause "Simplified" License
79 stars 9 forks source link

Delay parsing of inline blocks #168

Closed reynir closed 1 year ago

reynir commented 1 year ago

This addresses #167 by splitting the lines into inline blocks and non-inline blocks. First the non-inline blocks are processed optionally consuming inline blocks if they are `Need_inline _, then any remaining inline blocks are processed using default values for optional arguments.