Article View: comp.lang.c.moderated
Article #2269Re: Any suggestion?
From: Tom McGlynn
Date: Wed, 13 Mar 1996 12:41
Date: Wed, 13 Mar 1996 12:41
20 lines
1315 bytes
1315 bytes
Marco Donati (trev@iol.it) wrote: : Here is my problem: I have to write down an ANSI C program that reads : other ANSI C sources and : 1) finds errors related to the parentheses : 2) indents it : 3) finds errors related to the syntax of commands, variable : declarations, most used function calls etc. Get a C grammar as in yacc and add code to it for reporting the specific errors of interest. I did this for a code auditor which reports violations of a proprietary coding standard. Of course, you can use a compiler to report these errors but I'm sure you've already considered that. Indenting can be done using GNU indent. -- The preceding is my opinion and not necessarily the opinion of my employer.
Technical Details
Message-ID:
<4i6fp2$p3l@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<4i169c$hc@solutions.solon.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: tjm@ed.ray.com (Tom McGlynn) Newsgroups: comp.lang.c.moderated Subject: Re: Any suggestion? Date: 13 Mar 1996 06:41:06 -0600 Organization: Raytheon Electronic Systems Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4i6fp2$p3l@solutions.solon.com> References: <4i169c$hc@solutions.solon.com> NNTP-Posting-Host: solutions.solon.com X-Authentication-Warning: The author was not authenticated. X-Disclaimer: This is the author's opinion and not that of Raytheon Company. X-Newsreader: TIN [version 1.2 PL2]