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:
parent
804169fb7f
commit
93f8985e47
1 changed files with 7 additions and 6 deletions
|
@ -82,9 +82,10 @@ Assertion* ReadAssertion (FILE* F, struct ObjData* O)
|
||||||
Assertion* A = xmalloc (sizeof (Assertion));
|
Assertion* A = xmalloc (sizeof (Assertion));
|
||||||
|
|
||||||
/* Read the fields from the file */
|
/* Read the fields from the file */
|
||||||
A->Expr = ReadExpr (F, O);
|
A->LineInfos = EmptyCollection;
|
||||||
A->Action = (AssertAction) ReadVar (F);
|
A->Expr = ReadExpr (F, O);
|
||||||
A->Msg = MakeGlobalStringId (O, ReadVar (F));
|
A->Action = (AssertAction) ReadVar (F);
|
||||||
|
A->Msg = MakeGlobalStringId (O, ReadVar (F));
|
||||||
ReadLineInfoList (F, O, &A->LineInfos);
|
ReadLineInfoList (F, O, &A->LineInfos);
|
||||||
|
|
||||||
/* Set remaining fields */
|
/* Set remaining fields */
|
||||||
|
|
Loading…
Add table
Reference in a new issue