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:
uz
2008-08-21 19:35:39 +00:00
parent 9f7fc6f4c8
commit 5d4790a137
5 changed files with 11 additions and 6 deletions

View File

@@ -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;
}