Alexander Leidinger wrote: > On 26 Apr, Peter Wemm wrote: > > > I've fixed this here and will commit it shortly, but I'm a bit nervous abou t > > the scope of the change required to prevent this information loss. :-/ I > > don't know enough lex/yacc to do context-sensitive tokenization. > > What about > pseudo-device "i4bq921" > at the moment I have to quote.
I don't think anything much can be done about that.. The tokenizer essentially ignores whitespace, so these are the same: pseudo-device snp 4 pseudo-device snp4 Without the quotes, your example above is parsed something like this: pseudo-device i 4 bq 921 Ie: a request for 4 units of the i device and 921 units of the bq device, which do not exist, or it will be a syntax error. Unfortunately, you can't use "options i4bq921" since there is: #if NI4BQ921 > 0 and... conf/files:i4b/layer2/i4b_l2fsm.c optional i4bq921 That 'N' prefix is for the unit count. Sigh... Cheers, -Peter To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message