Reduce the doctest lease duration...
[python_utils.git] / dateparse / dateparse_utils.g4
index d45b18768adf6efec877803b24cb674a51d959c2..364aa0f985592f84deb1e41b5bcd09c3c7126873 100644 (file)
@@ -1,4 +1,7 @@
+// © Copyright 2021-2022, Scott Gasch
+//
 // antlr4 -Dlanguage=Python3 ./dateparse_utils.g4
+//
 // Hi, self.  In ANTLR grammars, there are two separate types of symbols: those
 // for the lexer and those for the parser.  The former begin with a CAPITAL
 // whereas the latter begin with lowercase.  The order of the lexer symbols
@@ -54,6 +57,7 @@ singleDateExpr
     | nthWeekdayInMonthMaybeYearExpr
     | firstLastWeekdayInMonthMaybeYearExpr
     | deltaDateExprRelativeToTodayImplied
+    | dayName (SPACE|ddiv)+ monthDayMaybeYearExpr (SPACE|ddiv)* singleTimeExpr*
     | dayName
     ;