SoarGroup / VisualSoar

VisualSoar is a development environment written in Java to aid in the creation of agents for use in Soar
6 stars 6 forks source link

Should ignore pipes in enumerations #37

Open PLatCIC opened 1 month ago

PLatCIC commented 1 month ago

I added an enumeration to fix a datamap error on this action line for an operator:

    ^attach-type |ref-expr|

Checking against the datamap gave me an error when I created an enumeration like this:

       ^attach-type ref-expr

But it worked if I did it like this:

    ^attach-type |ref-expr|

It seems to me that Visual Soar should not care about these pipes. There is no possible ambiguity in this context. If I leave them out of the enumeration, it should not give a datamap error. If I have them there, that should be OK too, to keep backward compatibility.