We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aef18ea + 5bf697b commit 44e62f2Copy full SHA for 44e62f2
src/lpython/parser/parser_stype.h
@@ -101,12 +101,16 @@ static_assert(std::is_trivial<YYSTYPE>::value);
101
// would reduce performance.
102
static_assert(sizeof(YYSTYPE) == sizeof(Vec<LPython::AST::ast_t*>));
103
104
+static_assert(std::is_standard_layout<Location>::value);
105
+static_assert(std::is_trivial<Location>::value);
106
+
107
} // namespace LFortran
108
109
110
typedef struct LFortran::Location YYLTYPE;
111
#define YYLTYPE_IS_DECLARED 1
112
#define YYLTYPE_IS_TRIVIAL 0
113
+#define YYINITDEPTH 2000
114
115
116
#endif // LPYTHON_PARSER_STYPE_H
0 commit comments