]> granicus.if.org Git - re2c/commitdiff
Added comment.
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 16 Apr 2017 10:10:03 +0000 (11:10 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 16 Apr 2017 10:10:03 +0000 (11:10 +0100)
re2c/src/dfa/closure.cc

index 1e7a84547ad4b3bc09e5d5dae11b387a5491fbb8..ae6a758a9d955b0dacf2258eda5bf377f7450964 100644 (file)
@@ -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]);