From 20ea94a3dcac2afa54dd55b6934218193c19fee8 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Fri, 26 Jun 2015 14:01:56 +0100 Subject: [PATCH] Removed unused function. --- re2c/src/codegen/go.h | 1 - re2c/src/codegen/go_emit.cc | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/re2c/src/codegen/go.h b/re2c/src/codegen/go.h index 6bc8a245..57c29e8b 100644 --- a/re2c/src/codegen/go.h +++ b/re2c/src/codegen/go.h @@ -20,7 +20,6 @@ struct Span { uint32_t ub; State * to; - uint32_t show (std::ostream&, uint32_t) const; FORBID_COPY (Span); }; diff --git a/re2c/src/codegen/go_emit.cc b/re2c/src/codegen/go_emit.cc index 9c5d33c6..ebd9e56c 100644 --- a/re2c/src/codegen/go_emit.cc +++ b/re2c/src/codegen/go_emit.cc @@ -59,22 +59,6 @@ std::string output_hgo (OutputFile & o, uint32_t ind, bool & readCh, SwitchIf * return yych; } -uint32_t Span::show (std::ostream & o, uint32_t lb) const -{ - printSpan(o, lb, ub); - o << " "; - if (to) - { - o << to->label; - } - else - { - o << "(nil)"; - } - o << "; "; - return ub; -} - void Case::emit (OutputFile & o, uint32_t ind) { for (uint32_t i = 0; i < ranges.size (); ++i) -- 2.40.0