mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-24 10:22:50 -06:00
fix a potential crash
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
|||||||
|
|
||||||
PgfLiteral read_literal();
|
PgfLiteral read_literal();
|
||||||
PgfExpr read_expr();
|
PgfExpr read_expr();
|
||||||
void read_expr(ref<PgfExpr> r) { *r = read_expr(); };
|
void read_expr(ref<PgfExpr> r) { auto res = read_expr(); *r = res; };
|
||||||
|
|
||||||
void read_hypo(ref<PgfHypo> hypo);
|
void read_hypo(ref<PgfHypo> hypo);
|
||||||
ref<PgfDTyp> read_type();
|
ref<PgfDTyp> read_type();
|
||||||
|
|||||||
Reference in New Issue
Block a user