1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #794 duplicate

Makefile highlighting doesn't work well if there are variable declarations before the first block

Dmitry Shachnev
created an issue

Compare these two blocks:



hello: gcc hello.c -o hello }}}





hello: $(CC) hello.c -o hello }}}

First one is highlighted correctly (hello becomes a Name.Function), and the second one is not (hello is not recognized and not highlighted at all).

See http://pygments.org/demo/52994/ and http://pygments.org/demo/52995/.

Comments (2)

  1. Log in to comment