[augeas-devel] [Augeas] #126: Recursive lens doesn't accept valid input

Augeas trac at fedorahosted.org
Sun Jul 4 00:41:10 UTC 2010


#126: Recursive lens doesn't accept valid input
-------------------------+--------------------------------------------------
  Reporter:  fgiraldeau  |       Owner:  fgiraldeau
      Type:  defect      |      Status:  assigned  
  Priority:  major       |   Milestone:  next      
 Component:  Augeas      |     Version:  devel     
Resolution:              |    Keywords:  recursive 
-------------------------+--------------------------------------------------
Changes (by fgiraldeau):

  * status:  new => assigned

Comment:

 The problem seems to be related to the condition to accept a valid final
 item in the earley graph.

 Let this lens:
 {{{
   let rec x = ...
   let y = del /[a]*/ ""
   let z = x . y
 }}}
 The lens z ends with a terminal, and hence the last item in the earley
 graph is R_SCAN. This condition was missing in jmt_visitor to accept the
 parse.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/126#comment:2>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list