Skip to contentSkip to conversation

parser for mount options

RFC PATCH [email protected] 1 participant 1 message Aug 8, 2001

lore
Share & tools
lore
#0 lore raw

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?