[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 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256455

Stefan Eßer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |se@FreeBSD.org
                 CC|                            |se@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Stefan Eßer <se@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.