Help save net neutrality! Learn more.
Close

#243 Make include: displayed line is erased

current_cvs
closed-fixed
None
5
2013-09-24
2013-08-09
No

Make.pm

Files on an include statement are caught with a loop (result of capture is directive (or spacing after first iteration) + file). The same regular expression is used for handling syntax error.

Syntax error is "copied" from other language handlers where error management is distinct from normal processing. There, nothing was started yet and the offending strings can be put into $$frag which is empty. In Make case, error management is also normal exit (when everything has been eaten up). $$frag content must be preserved because it contains HTML highlighting for previous files.

Fix use operator .= instead of = in error processing.

Affects Make.pm since its first implementation (releases 1.10 and 1.2.0)

Discussion

  • Andre-Littoz

    Andre-Littoz - 2013-09-24

    Fixed in CVS

     
  • Andre-Littoz

    Andre-Littoz - 2013-09-24
    • status: open --> closed-fixed
     

Log in to post a comment.