[Bug 256455] calendar(1) always considers // as the start of a comment

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Jun 2021 21:07:50 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256455

Stefan Eßer <se_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs_at_FreeBSD.org            |se_at_FreeBSD.org
                 CC|                            |se_at_FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Stefan Eßer <se_at_FreeBSD.org> ---
I have added the C++ style comments to calendar as part of the changes that
brought back features lost when a very restricted internal pre-processor had
been implemented to replace piping of calendar files through an external C
pre-processor.

It is of course possible to ignore // if it is used as part of a URL (i.e. if
it follows a colon) or if it is preceded by any non-whitespace character.

I'll prepare a patch for review on phabricator and attach it to this PR.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sun Jun 06 2021 - 21:07:50 UTC

Original text of this message