1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +00:00

Fixed an error: The collection for the line infos hasn't been initialized.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4974 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-02-10 22:18:24 +00:00
parent 804169fb7f
commit 93f8985e47

View File

@ -82,9 +82,10 @@ Assertion* ReadAssertion (FILE* F, struct ObjData* O)
Assertion* A = xmalloc (sizeof (Assertion));
/* Read the fields from the file */
A->Expr = ReadExpr (F, O);
A->Action = (AssertAction) ReadVar (F);
A->Msg = MakeGlobalStringId (O, ReadVar (F));
A->LineInfos = EmptyCollection;
A->Expr = ReadExpr (F, O);
A->Action = (AssertAction) ReadVar (F);
A->Msg = MakeGlobalStringId (O, ReadVar (F));
ReadLineInfoList (F, O, &A->LineInfos);
/* Set remaining fields */