mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-21 22:51:26 +08:00
Update VlppGlrParser.cpp
This commit is contained in:
@@ -1178,6 +1178,13 @@ namespace vl
|
||||
ErrorArgs
|
||||
***********************************************************************/
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnull-dereference"
|
||||
#elif defined (__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnull-dereference"
|
||||
#endif
|
||||
ErrorArgs ErrorArgs::UnrecognizedToken(const regex::RegexToken& token)
|
||||
{
|
||||
return {
|
||||
@@ -1233,6 +1240,11 @@ ErrorArgs
|
||||
ast
|
||||
};
|
||||
}
|
||||
#if defined (__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#elif defined (__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
ParsingError ErrorArgs::ToParsingError()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user