Go action expression is very repetitive

Bug #1244912 reported by Jeremy Thurgood on 2013-10-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Divmod Imaginary

Bug Description

We can probably do better than this:

    expr = (
        (pyparsing.Literal("go") + pyparsing.White() +
         targetString("direction")) |
        (pyparsing.Literal("enter") + pyparsing.White() +
         targetString("direction")) |
        (pyparsing.Literal("exit") + pyparsing.White() +
         targetString("direction")) |

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers