mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
When building with REGEX_DEBUG or ENABLE_ALL_THE_DEBUG_MACROS there are
two issues with linking of bin/TestRegex
- Libraries/LibRegex/RegexDebug.h:76 with undefined reference
regex::OpCode_Compare::variable_arguments_to_byte_string(
AK::Optional<regex::MatchInput const&>) const
- Libraries/LibRegex/RegexByteCode.h:672 with undefined reference
regex::OpCode::name(regex::OpCodeId)
Add REGEX_API on regex::OpCode and regex::OptCode_Compare to allow
access to the classes in bin/TestRegex
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Forward.h | ||
| Regex.h | ||
| RegexByteCode.cpp | ||
| RegexByteCode.h | ||
| RegexBytecodeStreamOptimizer.h | ||
| RegexDebug.h | ||
| RegexDefs.h | ||
| RegexError.h | ||
| RegexLexer.cpp | ||
| RegexLexer.h | ||
| RegexMatch.h | ||
| RegexMatcher.cpp | ||
| RegexMatcher.h | ||
| RegexOptimizer.cpp | ||
| RegexOptions.h | ||
| RegexParser.cpp | ||
| RegexParser.h | ||