diff --git a/src/lpython/parser/parser_stype.h b/src/lpython/parser/parser_stype.h index bcf3b8b58d..c4423cd9c1 100644 --- a/src/lpython/parser/parser_stype.h +++ b/src/lpython/parser/parser_stype.h @@ -101,12 +101,16 @@ static_assert(std::is_trivial::value); // would reduce performance. static_assert(sizeof(YYSTYPE) == sizeof(Vec)); +static_assert(std::is_standard_layout::value); +static_assert(std::is_trivial::value); + } // namespace LFortran typedef struct LFortran::Location YYLTYPE; #define YYLTYPE_IS_DECLARED 1 #define YYLTYPE_IS_TRIVIAL 0 +#define YYINITDEPTH 2000 #endif // LPYTHON_PARSER_STYPE_H