[Top][All Lists]

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

Re: Autoscan patch

From: Akim Demaille
Subject: Re: Autoscan patch
Date: 12 Dec 2000 12:02:26 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

| While testing the change I found that many keywords, notably "const" are
| not recognized when they stand at the beginning of the line. It turned out
| that \W was used where \b or \B (in one case) was meant. I couldn't find
| any place where \W were justified.

Well spotted.

| Finally, it's probably a good idea to use AC_CONFIG_HEADER if any C/C++
| sources have been found.


| ChangeLog:
|         * (init_tables): Allow spaces on the right hand side
|         in autoscan tables. Die if there are no spaces at all.
|         (scan_c_file): Use \b instead of \W so that keywords match at
|         the beginning and the end of the line.
|         (scan_sh_file): Likewise.
|         (scan_makefile): Likewise. Use \B to match before `-l'.
|         (output): Suggest AC_CONFIG_HEADER if any C/C++ sources are
|         found.
|         * acidentifiers: Update macros for structure members st_blksize
|         and st_rdev.

Fine with me.  Go ahead.

reply via email to

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