stripcom.icn: Procedures to strip comments from Icon line

link stripcom
March 3, 1996; Richard L. Goerwitz
This file is in the public domain.

Strip commented-out portion of a line of Icon code.  Fails on lines
which, either stripped or otherwise, come out as an empty string.
____________________________________________________________

BUGS:  Can't handle lines ending in an underscore as part of a
broken string literal, since stripcom is not intended to be used
on sequentially read files.  It simply removes comments from indi-
vidual lines.

Source code | Program Library Page | Icon Home Page