Summary
###########################################################################
File: stripcom.icn
Subject: Procedures to strip comments from Icon line
Author: Richard L. Goerwitz
Date: March 3, 1996
###########################################################################
This file is in the public domain.
###########################################################################
Version: 1.5
###########################################################################
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.
###########################################################################
Procedures:
strip_comments, stripcom
This file is part of the (main) package.
Source code.
strip_comments(s)
The original name -
stripcom(s)
To preserve parallelism between file and procedure names.
This page produced by UniDoc on 2021/04/15 @ 23:59:54.