Do not try to dump an expression that has errors (circular references in this

case) because the dump routine doesn't detect this and runs into an endless
recursion.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5811 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-08-22 21:24:54 +00:00
parent c1bbf69d72
commit 5693df8bf2
2 changed files with 33 additions and 14 deletions

View File

@@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 2003 Ullrich von Bassewitz */
/* R<EFBFBD>merstra<EFBFBD>e 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 2003-2012, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@@ -36,7 +36,7 @@
#ifndef STUDYEXPR_H
#define STUDYEXPR_H
/* common */
#include "exprdefs.h"
@@ -52,6 +52,7 @@
/* Flags */
#define ED_OK 0x00 /* Nothing special */
#define ED_TOO_COMPLEX 0x01 /* Expression is too complex */
#define ED_ERROR 0x02 /* Error evaluating the expression */
/* Symbol reference */
typedef struct ED_SymRef ED_SymRef;