Reject AT clause with more than one following TIME.

This commit is contained in:
Dianne Skoll
2015-05-27 13:19:25 -04:00
parent 700e649e76
commit 61ad405b4a
8 changed files with 159 additions and 142 deletions
+1
View File
@@ -447,6 +447,7 @@ static int ParseTimeTrig(ParsePtr s, TimeTrig *tim, int save_in_globals)
switch(tok.type) {
case T_Time:
DBufFree(&buf);
if (tim->ttime != NO_TIME) return E_TIME_TWICE;
tim->ttime = tok.val;
break;