You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default pyparsing skips over all leading whitespace before attempting to match the next element in an expression. Thus, all of the explicit White() terms in our action definitions are redundant. We can just delete them.
Naively doing so does introduce an ambiguity between Take and TakeFrom but these should be one action anyway so I'm also going to take the excuse to merge them. This shortens the implementation and fixes some divergences between the two in some exception handling behavior.
The text was updated successfully, but these errors were encountered:
By default pyparsing skips over all leading whitespace before attempting to match the next element in an expression. Thus, all of the explicit
White()
terms in our action definitions are redundant. We can just delete them.Naively doing so does introduce an ambiguity between
Take
andTakeFrom
but these should be one action anyway so I'm also going to take the excuse to merge them. This shortens the implementation and fixes some divergences between the two in some exception handling behavior.The text was updated successfully, but these errors were encountered: