bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

m4 error message format


From: Bruno Haible
Subject: m4 error message format
Date: Mon, 31 Jul 2006 16:53:47 +0200
User-agent: KMail/1.9.1

Hi,

Recently on bug-gnulib you referred to the GNU standards for error message
output. Today I got this error message from m4:

/packages/gnu/bin/m4: aclocal.m4: 851: Cannot open srcm4/absolute-header.m4: No 
such file or directory

Please remove that space before the line number.

*** m4-20060430/src/main.c.bak  2005-08-25 22:15:36.000000000 +0200
--- m4-20060430/src/main.c      2006-07-30 02:09:54.000000000 +0200
***************
*** 62,68 ****
    fflush (stdout);
    fprintf (stderr, "%s: ", program_name);
    if (m4_current_line != 0)
!     fprintf (stderr, "%s: %d: ", m4_current_file, m4_current_line);
    errno = e;
  }
  
--- 62,68 ----
    fflush (stdout);
    fprintf (stderr, "%s: ", program_name);
    if (m4_current_line != 0)
!     fprintf (stderr, "%s:%d: ", m4_current_file, m4_current_line);
    errno = e;
  }
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]