Article View: comp.lang.c.moderated
Article #2236Any suggestion?
From: Marco Donati
Date: Mon, 11 Mar 1996 12:28
Date: Mon, 11 Mar 1996 12:28
29 lines
1468 bytes
1468 bytes
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. I solved the first point with a stack, and it works (I am still working on avoiding the count of parentheses included in comments and between quotes). The indenting function is trivial, but... Any suggestion for the 3rd point? I still haven't an idea on the simplest way to make it... Any help (---> better if by E-mail <---) would be very appreciated! See you, Marco. +---------------------------------------+ | Marco '3v' Donati | | --------- | | trev@iol.it | | --------- | | http://www.cdc.polimi.it/~triz1902 | +---------------------------------------+ REALLY VERY IMPORTANT NOTE: This is NOT a real and official posting, but only a test. You are *NOT* allowed to read this if you are not one of my official beta-testers. List is available by e-mail.
Technical Details
Message-ID:
<4i169c$hc@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: trev@iol.it (Marco Donati) Newsgroups: comp.lang.c.moderated Subject: Any suggestion? Date: 11 Mar 1996 06:28:28 -0600 Organization: Italia Online Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4i169c$hc@solutions.solon.com> NNTP-Posting-Host: solutions.solon.com X-Newsreader: Forte Free Agent 1.0.82