Don't convert 90-99 to 1900-1999

This commit is contained in:
Dianne Skoll
2021-11-21 10:17:06 -05:00
parent 899829f1ac
commit a83bf495b1

View File

@@ -337,9 +337,6 @@ void FindNumericToken(char const *s, Token *t)
/* If we hit a non-digit, error! */
if (*s) return;
/* Special hack - convert years between 90 and 99 to 1990 and 1999 */
if (t->val >= 90 && t->val <= 99) t->val += 1900;
/* Classify the number we've got */
if (t->val >= BASE && t->val <= BASE+YR_RANGE) t->type = T_Year;
else if (t->val >= 1 && t->val <= 31) t->type = T_Day;