mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-06-01 06:14:11 +08:00
Update VlppGlrParser.cpp
This commit is contained in:
@@ -1178,6 +1178,13 @@ namespace vl
|
|||||||
ErrorArgs
|
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)
|
ErrorArgs ErrorArgs::UnrecognizedToken(const regex::RegexToken& token)
|
||||||
{
|
{
|
||||||
return {
|
return {
|
||||||
@@ -1233,6 +1240,11 @@ ErrorArgs
|
|||||||
ast
|
ast
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
#if defined (__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#elif defined (__GNUC__)
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
ParsingError ErrorArgs::ToParsingError()
|
ParsingError ErrorArgs::ToParsingError()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user