summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2010-11-11 15:51:21 +0100
committerBrice Figureau <brice-puppet@daysofwonder.com>2010-11-11 15:51:21 +0100
commit9604f1c4cd5a368da08c6f3219b44908a9b9921c (patch)
treeaaf9e1d52bcf1be6d23078809436b25c68f50011 /lib/puppet/util/autoload.rb
parentcc5224c1912f2e95663c14ca803700070130fb69 (diff)
downloadpuppet-9604f1c4cd5a368da08c6f3219b44908a9b9921c.tar.gz
puppet-9604f1c4cd5a368da08c6f3219b44908a9b9921c.tar.xz
puppet-9604f1c4cd5a368da08c6f3219b44908a9b9921c.zip
Fix #5252 - line number mis-attribution during parsing
It is a resurgence of #2366 that appeared because of the commit 8971d8. Before this commit, for associating documentation comments, we were preferring line numbers coming from the parser currently reducing rule, instead of the current lexer line number (which can be in advance of several tokens due to the nature of LALR parsers). We now merge the ast line number before fetching the comment from the lexer. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions