]> granicus.if.org Git - flex/commitdiff
scanner: c{i,j} should preserve case.
authorNieDzejkob <niedzejkob@gmail.com>
Thu, 29 Jun 2017 10:38:25 +0000 (12:38 +0200)
committerWill Estes <westes575@gmail.com>
Mon, 3 Jul 2017 15:34:00 +0000 (11:34 -0400)
Fixes #193

src/nfa.c

index 9143cf6649c95842f35cf8993c9f34c27f9cc800..3d9bf24ca60679d734393a10b68657c7994a4517 100644 (file)
--- a/src/nfa.c
+++ b/src/nfa.c
@@ -499,6 +499,8 @@ int     mkor (int first, int second)
                }
        }
 
+       firstst[first] = MIN(firstst[first], firstst[second]);
+
        finalst[first] = orend;
        return first;
 }