STR 3460: removed nanny code for Fluid comments

When writing comments, FLuid would check if the comment was
C compatible. However, comments don;t need to comply to C
syntax. We could check for the "*/", but is that really needed?
This commit is contained in:
Matthias Melcher 2019-01-13 22:42:01 +01:00
parent 1643912e4a
commit a1ebe87a88
1 changed files with 0 additions and 6 deletions

View File

@ -1280,12 +1280,6 @@ void comment_cb(Fl_Text_Editor* i, void *v) {
} else {
int mod = 0;
char *c = i->buffer()->text();
const char *d = c_check(c);
if (d) {
fl_message("Error in comment: %s",d);
if (i->window()) i->window()->make_current();
haderror = 1;
}
for (Fl_Type *o = Fl_Type::first; o; o = o->next) {
if (o->selected) {
o->comment(c);