DIRECTOR: Lingo: Do not error out on unknown entities

This commit is contained in:
Eugene Sandulenko 2016-08-02 22:31:27 +03:00
parent 5414a0ec2c
commit d9cf5af9f0
2 changed files with 4 additions and 4 deletions

View File

@ -1149,7 +1149,7 @@ YY_RULE_SETUP
return THEENTITY;
}
error("Unhandled the entity %s", ptr);
warning("Unhandled the entity %s", ptr);
}
YY_BREAK
case 35:
@ -1172,7 +1172,7 @@ YY_RULE_SETUP
return THEENTITY;
}
error("Unhandled the entity %s", ptr);
warning("Unhandled the entity %s", ptr);
}
YY_BREAK
case 36:

View File

@ -131,7 +131,7 @@ whitespace [\t ]
return THEENTITY;
}
error("Unhandled the entity %s", ptr);
warning("Unhandled the entity %s", ptr);
}
(?i:the[ \t]+[[:alpha:]]+) {
count();
@ -150,7 +150,7 @@ whitespace [\t ]
return THEENTITY;
}
error("Unhandled the entity %s", ptr);
warning("Unhandled the entity %s", ptr);
}
(?i:then) { count(); return tTHEN; }
(?i:to) { count(); return tTO; }