diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | parser.y | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2010-01-13 Kaz Kylheku <kkylheku@gmail.com> + * parser.y (precedence): bugfix: character classes like this [^*] + being treated as a non-complemented set of two characters. + +2010-01-13 Kaz Kylheku <kkylheku@gmail.com> + Dynamically determine which regex implementation to use: NFA or derivatives. The default behavior is NFA, with derivatives used if the regular expression contains @@ -78,10 +78,11 @@ static val parsed_spec; %nonassoc OUTPUT REPEAT REP FIRST LAST EMPTY DEFINE %nonassoc '{' '}' '[' ']' '(' ')' %right IDENT TEXT NUMBER +%left '^' %left '|' '/' %left '&' %right '~' '*' '?' '+' -%right '^' '.' '\\' REGCHAR LITCHAR +%right '.' '\\' REGCHAR LITCHAR %% |