issues
search
ourPLCC
/
plcc
A Programming Languages Compiler Compiler
GNU General Public License v3.0
8
stars
4
forks
source link
Replace `#include` with `%include`
#115
Closed
StoneyJackson
closed
7 months ago
StoneyJackson
commented
7 months ago
Rationale:
PLCC grammar files use
#
for comments. So
#include
looks like a comment but isn't.
PLCC grammar files use one or more
%
to signal other syntactic constructs like section dividers.
No other major programming languages use
%include
.
C/C++ and any other language that uses CPP uses
#include
.
Agreed on 4/19/2024.
Rationale:
#
for comments. So#include
looks like a comment but isn't.%
to signal other syntactic constructs like section dividers.%include
.#include
.Agreed on 4/19/2024.