Article View: gnu.gcc.bug
Article #6286Handling `//' Comments
From: root
Date: Mon, 08 Jan 1996 00:00
Date: Mon, 08 Jan 1996 00:00
7 lines
881 bytes
881 bytes
One of the nuisances in porting Dos/Windows code to Unix is that gcc expects traditional `/* ... */' comments and most newer Dos and Windows code uses `//'. What is needed is either a minor extension to gcc in future releases or a Unix utility that scans all text files in the current directory and converts comments. For the record, such a program takes about 38 KB and uses the `dirwalk' code in Kernighan and Ritchie "The C Programming Language, XX Edition".
Technical Details
Message-ID:
<slrn4f2qhl.52.root@tailor.roman.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,d3e08d750416e018,start X-Google-Attributes: gid113d02,public From: root@tailor.roman.ORG (root) Subject: Handling `//' Comments Date: 1996/01/08 Message-ID: <slrn4f2qhl.52.root@tailor.roman.org> X-Deja-AN: 134453573 distribution: gnu sender: daemon@cis.ohio-state.edu organization: CRL Dialup Internet Access newsgroups: gnu.gcc.bug