Enable use of new C like comments only if the new feature "c_comments" is
enabled. git-svn-id: svn://svn.cc65.org/cc65/trunk@3889 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -60,6 +60,7 @@ static const char* FeatureKeys[FEAT_COUNT] = {
|
||||
"pc_assignment",
|
||||
"missing_char_term",
|
||||
"ubiquitous_idents",
|
||||
"c_comments",
|
||||
};
|
||||
|
||||
|
||||
@@ -113,6 +114,7 @@ feature_t SetFeature (const StrBuf* Key)
|
||||
case FEAT_PC_ASSIGNMENT: PCAssignment = 1; break;
|
||||
case FEAT_MISSING_CHAR_TERM: MissingCharTerm = 1; break;
|
||||
case FEAT_UBIQUITOUS_IDENTS: UbiquitousIdents = 1; break;
|
||||
case FEAT_C_COMMENTS: CComments = 1; break;
|
||||
default: /* Keep gcc silent */ break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user