From 37cd13ba7e4a96b2f9a608ad895b25d8d37aaa7c Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Mon, 28 Jul 2014 11:41:19 +0300 Subject: [PATCH] Fixed compilation warning for clang. Sample warning: warning: struct 'RegExp' was previously declared as a class [-Wmismatched-tags] struct RegExp; // forward ^ --- re2c/range_suffix.h | 2 +- re2c/utf16_regexp.h | 2 +- re2c/utf8_regexp.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/re2c/range_suffix.h b/re2c/range_suffix.h index 148873f1..82c6065b 100644 --- a/re2c/range_suffix.h +++ b/re2c/range_suffix.h @@ -8,7 +8,7 @@ namespace re2c { -struct RegExp; // forward +class RegExp; // forward class RangeSuffix { diff --git a/re2c/utf16_regexp.h b/re2c/utf16_regexp.h index 19c1853f..c8ed3dab 100644 --- a/re2c/utf16_regexp.h +++ b/re2c/utf16_regexp.h @@ -5,7 +5,7 @@ namespace re2c { -struct RegExp; // forward +class RegExp; // forward RegExp * UTF16Symbol(utf16::rune r); RegExp * UTF16Range(const Range * r); diff --git a/re2c/utf8_regexp.h b/re2c/utf8_regexp.h index e2468b20..2ce1d8fe 100644 --- a/re2c/utf8_regexp.h +++ b/re2c/utf8_regexp.h @@ -5,7 +5,7 @@ namespace re2c { -struct RegExp; // forward +class RegExp; // forward RegExp * UTF8Symbol(utf8::rune r); RegExp * UTF8Range(const Range * r); -- 2.40.0