Follow-up Comment #1, bug #60799 (project make):

[comment #0 original submission:]
> Parser chokes on second expansion of a prerequisite with ; o #
> 
> $ cat makefile 
> MAKEFLAGS+=--warn-undefined-variables
> .SECONDEXPANSION:
> hello: $$(shell echo world;)
>         touch $@
> 
> bye: $$(hello#world)
>         touch $@
> $ make hello
> makefile:7: *** unterminated variable reference.  Stop.
> $ make bye
> makefile:7: *** unterminated variable reference.  Stop.
> $ 
> 
> 
> Parser treats ; as a recipe delimiter and # as a comment delimiter.

(file #51584, file #51585)
    _______________________________________________________

Additional Item Attachment:

File name: sv_60799_se_semi_fix.diff      Size:4 KB
   
<https://file.savannah.gnu.org/file/sv_60799_se_semi_fix.diff?file_id=51584>

File name: sv_60799_se_semi_test.diff     Size:3 KB
   
<https://file.savannah.gnu.org/file/sv_60799_se_semi_test.diff?file_id=51585>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60799>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to