From ea4b0a129eebedba73eb08eb2639040fd758c51f Mon Sep 17 00:00:00 2001
From: NieDzejkob <niedzejkob@gmail.com>
Date: Thu, 29 Jun 2017 12:38:25 +0200
Subject: [PATCH] scanner: c{i,j} should preserve case.

Fixes #193
---
 src/nfa.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/nfa.c b/src/nfa.c
index 9143cf6..3d9bf24 100644
--- 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;
 }
-- 
1.8.3.1

