Skip to content

Commit

Permalink
Update VlppGlrParser.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vczh committed Apr 10, 2023
1 parent 2627b8e commit 46a934a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Import/VlppGlrParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -1233,6 +1240,11 @@ ErrorArgs
ast
};
}
#if defined (__clang__)
#pragma clang diagnostic pop
#elif defined (__GNUC__)
#pragma GCC diagnostic pop
#endif

ParsingError ErrorArgs::ToParsingError()
{
Expand Down

0 comments on commit 46a934a

Please sign in to comment.