diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-10-30 10:44:46 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-10-30 10:44:46 +0000 |
commit | 0f352f4e2593289ded5597ed231e8a66d7d99f62 (patch) | |
tree | 280dd753b0e118a70a891fdc5e1ecad3dbe809fb /usr.sbin/mtest | |
parent | 86e149e16e795419ea49bd937499b9fbfc4d3094 (diff) | |
download | src-0f352f4e2593289ded5597ed231e8a66d7d99f62.tar.gz src-0f352f4e2593289ded5597ed231e8a66d7d99f62.zip |
Re-implement comment parsing missing in the internal pre-processor
The internal pre-processor ignored lines that did not parse a calendar
entries, but did not support multi-line comments in the way the external
cpp did.
The calendar files distributed with the base system (now in a port) do
use comments, though.
Implement comment processing for single-line (//) and multi-line comments
(/* */) with same semantics as in a standard C pre-processor.
All tests pass with this version, but there are no tests that specifically
verify comment processing.
Reported by: jhs@berklix.com (Julian H. Stacey)
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=367161
Diffstat (limited to 'usr.sbin/mtest')
0 files changed, 0 insertions, 0 deletions