From bbc5467b3397334a2daaea572a9590bcf4f082d8 Mon Sep 17 00:00:00 2001 From: Martin Waitz Date: Mon, 6 Mar 2017 23:48:53 +0100 Subject: [PATCH] [modulemap] use textual header for character definitions Both CSSCodePoints.h and HTMLTokenizerCharacters.h define the same symbols. They are never included by the same compilation unit, but when they are compiled into the same module, they create a conflict. Fix this conflict by using `textual header`. --- Sources/include/module.modulemap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/include/module.modulemap b/Sources/include/module.modulemap index 6eca8e6..0b140b6 100644 --- a/Sources/include/module.modulemap +++ b/Sources/include/module.modulemap @@ -5,7 +5,7 @@ module HTMLKit { export * explicit module Private { - header "CSSCodePoints.h" + textual header "CSSCodePoints.h" header "CSSInputStream.h" header "HTMLCharacterToken.h" header "HTMLCommentToken.h" @@ -22,7 +22,7 @@ module HTMLKit { header "HTMLTagToken.h" header "HTMLToken.h" header "HTMLTokenizer.h" - header "HTMLTokenizerCharacters.h" + textual header "HTMLTokenizerCharacters.h" header "HTMLTokenizerEntities.h" header "HTMLTokenizerStates.h" header "HTMLTokens.h"