parser for mount options
From: Alexander Viro <[email protected]>
On Tue, 7 Aug 2001 [email protected] wrote:
> while (more_tokens) {
> t = type_of_next_token();
> switch (t) {
> case ...
> }
> }
>
> where the type_of_next_token() does the parsing, and the switch > does the assigning. Much more code. Much uglier - but tastes differ.
I would agree, if in all cases it was about assigning a single value. It isn't.
It was for 1.3.61. What cases have we now that are more complicated?