From c91defab6f5491a41af0e7d53c5c79bb6ba52bb5 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Sat, 13 Jul 2019 11:13:18 +0100 Subject: [PATCH] Fixed Clang warning -Wmismatched-tags. --- lib/regex.h | 2 +- src/compile.h | 2 +- src/dfa/determinization.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/regex.h b/lib/regex.h index 7c5bed13..5f226ad9 100644 --- a/lib/regex.h +++ b/lib/regex.h @@ -10,7 +10,7 @@ namespace re2c { struct nfa_t; struct dfa_t; -struct RangeMgr; +class RangeMgr; } // namespace re2c typedef ptrdiff_t regoff_t; diff --git a/src/compile.h b/src/compile.h index 1371b7de..7f1f4990 100644 --- a/src/compile.h +++ b/src/compile.h @@ -6,7 +6,7 @@ namespace re2c { class Scanner; struct Opt; -struct Output; +class Output; void compile(Scanner &input, Output &output, Opt &opts); diff --git a/src/dfa/determinization.h b/src/dfa/determinization.h index 57bf1a15..f7765f3a 100644 --- a/src/dfa/determinization.h +++ b/src/dfa/determinization.h @@ -23,7 +23,7 @@ namespace re2c { // fwd struct opt_t; -struct Msg; +class Msg; struct dfa_t; struct tcmd_t; -- 2.40.0