Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created January 26, 2012 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/1685315 to your computer and use it in GitHub Desktop.
Save jnthn/1685315 to your computer and use it in GitHub Desktop.
diff --git a/src/PAST/Regex.pir b/src/PAST/Regex.pir
index a5ae908..3434834 100644
--- a/src/PAST/Regex.pir
+++ b/src/PAST/Regex.pir
@@ -251,7 +251,7 @@ at this node.
charlist_negate:
if subtype == 'zerowidth' goto charlist_negate_0
- unless tail goto charlist_negate_0
+ if tail goto charlist_negate_0
.return (prefix)
charlist_negate_0:
head = shift tail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment