From: SourceForge.net <no...@so...> - 2012-10-31 18:20:21
|
Bugs item #3581966, was opened at 2012-10-30 11:34 Message generated for change (Comment added) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3581966&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lang support >Group: v1.0 >Status: Closed >Resolution: Fixed Priority: 3 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: Tabhint not activated in language parser Initial Comment: v1.0 (but present in previous releases) Language name from filetype.conf not captured in variable $langkey when creating a new language scanner (sub new in Lang.pm). Perl doc says: loop variable in foreach is localized when entering the loop and is restored in its previous value when exiting the loop. Consequently, you cannot keep the last iteration value in the variable. Fix: use a different variable for the loop and transfer its value into $langkey before exiting. ---------------------------------------------------------------------- >Comment By: Andre-Littoz (ajlittoz) Date: 2012-10-31 11:20 Message: Fixed as proposed in CVS ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3581966&group_id=27350 |