Article View: comp.std.c
Article #2189Re: C-formattors (problems with very long lines)
From: Peter Holzer
Date: Fri, 02 Oct 1992 17:07
Date: Fri, 02 Oct 1992 17:07
18 lines
1463 bytes
1463 bytes
hermann@uran.informatik.uni-bonn.de (Hermann Stamm) writes: >The question now is, does the below program correctly transforms >any compilable C-source into also compilable C-source. No, it won't work at all on systems which don't use ASCII encoding (use '\'' if you mean a single quote, not 39). It also won't work if you have unmatched double quotes inside of strings, single quotes inside of character constants or either of them inside of comments. The problem with preprocessor lines has already been mentioned. It also will get into an endless loop if char is unsigned by default or if EOF is not defined as -1. Maybe there are other problems, too, but this should suffice for now :-) -- | _ | Peter J. Holzer | Think of it | | |_|_) | Technical University Vienna | as evolution | | | | | Dept. for Real-Time Systems | in action! | | __/ | hp@vmars.tuwien.ac.at | Tony Rand |
Technical Details
Message-ID:
<1992Oct2.170754.8905@email.tuwien.ac.at>Path:
arc1-ca.pugleaf.net!sparky!uunet!email!hpReferences:
<1992Sep30.092907.28988@olymp.informatik.uni-bonn.de>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!sparky!uunet!email!hp From: hp@vmars.tuwien.ac.at (Peter Holzer) Subject: Re: C-formattors (problems with very long lines) Message-ID: <1992Oct2.170754.8905@email.tuwien.ac.at> Sender: news@email.tuwien.ac.at Nntp-Posting-Host: quasi.vmars.tuwien.ac.at Organization: Technical University Vienna, Dept. for Realtime Systems, AUSTRIA References: <1992Sep30.092907.28988@olymp.informatik.uni-bonn.de> Date: Fri, 2 Oct 1992 17:07:54 GMT Lines: 18