From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Matching lint error messages Date: Mon, 25 Nov 2002 07:36:51 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1038228457 8031 80.91.224.249 (25 Nov 2002 12:47:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2002 12:47:37 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18GIeG-00025K-00 for ; Mon, 25 Nov 2002 13:47:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18GIjs-0003Ig-00 for ; Mon, 25 Nov 2002 13:53:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GIVE-0003ZZ-00; Mon, 25 Nov 2002 07:38:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18GITt-0002wO-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 07:36:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18GITs-0002w5-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 07:36:53 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GITr-0002vt-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 07:36:51 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18GITr-0004TC-00; Mon, 25 Nov 2002 07:36:51 -0500 Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9665 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9665 compile.el includes this regexp ;; 4.3BSD lint pass 3 ;; bloofle defined( /users/wolfgang/foo.c(4) ), but never used ;; This used to be ;; ("[ \t(]+\\([a-zA-Z]?:?[^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]+" 1 2) ;; which is regexp Impressionism - it matches almost anything! (".*([ \t]*\\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\))" 1 2) which still tends to match too easily. I wonder if this output format is still used. Could someone look at Solaris and *BSD and see (1) whether they still have a `lint' program, and (2) what format it uses for such error messages now?