From: Ulya Trofimovich Date: Sun, 16 Apr 2017 10:10:03 +0000 (+0100) Subject: Added comment. X-Git-Tag: 1.0~39^2~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f38f8190728cbda6c2fc88913442fee17a925190;p=re2c Added comment. --- diff --git a/re2c/src/dfa/closure.cc b/re2c/src/dfa/closure.cc index 1e7a8454..ae6a758a 100644 --- a/re2c/src/dfa/closure.cc +++ b/re2c/src/dfa/closure.cc @@ -172,6 +172,8 @@ bool better(const clos_t &c1, const clos_t &c2, // open/close capture tag: maximize (on lookahead and versions); // if either one is bottom, fallback to leftmost disambiguation + // we don't use orders for minimize/maximize, because they are + // already used for leftmost } else if (capture(tag)) { x = tagtree.elem(l1[t]); y = tagtree.elem(l2[t]);