Hi,

            [Please retain the CC to [EMAIL PROTECTED]
             so that the Debian Bug Tracking system can record your
             input]

        This was reported by a debian user

 Please look at the following Makefile:

 [EMAIL PROTECTED]:~> cat -n bug.mak
      1  VAR = value;
      2  all:
      3          echo 1
      4          echo 2
      5          echo $(VAR}

 It contains a typo ('}' instead of ')' in line 5)
 Now running make on it:

 [EMAIL PROTECTED]:~> LANG=C make -f bug.mak
 bug.mak:3: *** unterminated variable reference.  Stop.

 You see, the line number reported in the first line of command block,
 not line number where the error is.

 I faced this when a typo was somewhere in a 100-line command block,
 that was full of variable references. It was not easy to find where
 the problem was.

        manoj

-- 
It's fabulous!  We haven't seen anything like it in the last half an
hour! Macy's
Manoj Srivastava     <[EMAIL PROTECTED]>    <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make
  • "Nikita V. Youshchenko" <[EMAIL PROTECTED]&g... Manoj Srivastava

Reply via email to