[augeas-devel] adjustment to the krb5.aug lense

Pat Riehecky riehecky at fnal.gov
Mon Aug 13 15:30:42 UTC 2012


On 08/10/2012 09:07 AM, Pat Riehecky wrote:
> On 08/08/2012 02:29 AM, Raphaël Pinson wrote:
>> It still won't passe augparse:
>>
>> $ augparse -I lenses/ lenses/krb5.aug
>> Syntax error in lens definition
>> lenses/krb5.aug:57.0-.152:Failed to compile all_permitted_enctypes
>> lenses/build.aug:59.43-.57:
>> lenses/krb5.aug:57.0-.152:Failed to compile all_permitted_enctypes
>> exception: ambiguous iteration
>>       Iterated regexp: /([ 
>> \t,]*)(([a-zA-Z0-9-]{3,8}[a-zA-Z0-9]{3,5}[a-zA-Z0-9-]*))/
>>       'AAAAAAAAAAAA' can be split into
>>       'AAAAAA|=|AAAAAA'
>>
>>      and
>>       'AAAAAAAAAAAA|=|'
>>
>>     Iterated lens: lenses/build.aug:59.45-.54:
>>
>>
>> That is because valsep is an optional separator. Make it mandatory 
>> (change * into +), and this will be resolved. There'll be other 
>> errors to fix, by the look of it, though.
>>
>>
>>
> Derp, I was type checking the wrong lense.  No wonder I couldn't 
> replicate.
>
> Thanks for tolerating my errors.  I'll work on getting this fixed for 
> real.
>
> Pat
>
I've got this typechecked for real this time and would love some feedback.

Its amazing when you check the code you changed rather than the known 
good reference, suddenly your errors show up!

Pat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krb5_aug.patch
Type: text/x-patch
Size: 5293 bytes
Desc: krb5_aug.patch
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20120813/4ebaa1b3/attachment.bin>


More information about the augeas-devel mailing list