From d119dd95fd020b27cff21c8a602e0ea6e7404605 Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Wed, 27 Jul 2016 10:42:46 +1000 Subject: [PATCH] ng_violet: trivial typo fixes --- src/nfagraph/ng_violet.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/nfagraph/ng_violet.cpp b/src/nfagraph/ng_violet.cpp index 27f84e99..757582f5 100644 --- a/src/nfagraph/ng_violet.cpp +++ b/src/nfagraph/ng_violet.cpp @@ -878,7 +878,7 @@ unique_ptr findBestPrefixSplit(const NGHolder &g, auto rv = findBestSplit(g, &depths, true, cc.grey.minRoseLiteralLength, nullptr, &bad_vertices, cc); - /* large back edges may prevent us identifing anchored or transient cases + /* large back edges may prevent us identifying anchored or transient cases * properly - use a simple walk instead */ if (!rv || !(rv->creates_transient || rv->creates_anchored)) { auto rv2 = findSimplePrefixSplit(g, cc); @@ -1601,7 +1601,7 @@ void removeRedundantLiteralsFromInfix(const NGHolder &h, RoseInGraph &ig, max_allowed_delay); if (delay == MO_INVALID_IDX) { - /* successor literal could not match infix -> ignore flase path */ + /* successor literal could not match infix -> ignore false path */ assert(0); continue; } @@ -1677,7 +1677,9 @@ RoseInVertex getStart(RoseInGraph &vg) { return RoseInGraph::null_vertex(); } -/* Finds the intial accept vertex created to which suffix/outfixes are attached +/** + * Finds the initial accept vertex created to which suffix/outfixes are + * attached. */ static RoseInVertex getPrimaryAccept(RoseInGraph &vg) {