Add an optional type to a span.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5253 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "gentype.h"
|
||||
#include "hashtab.h"
|
||||
#include "inline.h"
|
||||
#include "strbuf.h"
|
||||
|
||||
|
||||
|
||||
@@ -84,6 +85,9 @@ INLINE unsigned long GetSpanSize (const Span* R)
|
||||
# define GetSpanSize(R) ((R)->End - (R)->Start)
|
||||
#endif
|
||||
|
||||
void SetSpanType (Span* S, const StrBuf* Type);
|
||||
/* Set the generic type of the span to Type */
|
||||
|
||||
Span* OpenSpan (void);
|
||||
/* Open a span for the active segment and return it. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user