From: Ulya Trofimovich Date: Sat, 13 Jul 2019 10:13:18 +0000 (+0100) Subject: Fixed Clang warning -Wmismatched-tags. X-Git-Tag: 1.2~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c91defab6f5491a41af0e7d53c5c79bb6ba52bb5;p=re2c Fixed Clang warning -Wmismatched-tags. --- 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;