Parsing duration data type + bug fixed

Bug: parsing a wrong prolog when the prolog is empty
Bug: the first "every" may be lost