Add definitions of the test and testlist symbols in the grammar so
there are no gaps in the definitions.
Closes SF bug #726150.
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index 4949d22..df7ac70 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -153,6 +153,11 @@
 square brackets:
 
 \begin{productionlist}
+  \production{test}
+             {\token{and_test} ( "or" \token{and_test} )*
+              | \token{lambda_form}}
+  \production{testlist}
+             {\token{test} ( "," \token{test} )* [ "," ]}
   \production{list_display}
              {"[" [\token{listmaker}] "]"}
   \production{listmaker}