[YANGTOOLS-223] Yangtools fails to parse module with description following a YANG extension Created: 24/Jul/14  Updated: 10/Apr/22  Due: 29/Jul/14  Resolved: 30/Jun/15

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Giles Heron Assignee: Martin Vitez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 1412

 Description   

Yangtools fails to parse a module if that module has a YANG extension (e.g. "vendor:foo") followed immediately by a description statement.

The error in the log is "extraneous input 'output' expecting

{'}

', 'uses', 'typedef', 'status', 'reference', 'list', 'leaf-list', 'leaf', 'grouping', 'description', 'container', 'choice', 'anyxml', IDENTIFIER} in module"...



 Comments   
Comment by Martin Vitez [ 28/Jul/14 ]

Proposed patch:

https://git.opendaylight.org/gerrit/#/c/9309/

Generated at Wed Feb 07 20:52:37 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.