summaryrefslogtreecommitdiff
path: root/colm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-04-13 15:08:26 +0000
committerAdrian Thurston <thurston@complang.org>2013-04-13 15:08:26 +0000
commit3a85b29e2a01c72a52eb2c89315b9646c0c23d5d (patch)
treeb6cdcf0dd82b62d1764e314d15e036ef55b23aca /colm
parentf34149a3990b06f647fcba9664471dfa6957a844 (diff)
downloadcolm-3a85b29e2a01c72a52eb2c89315b9646c0c23d5d.tar.gz
fixed typedef error
Diffstat (limited to 'colm')
-rw-r--r--colm/input.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/colm/input.h b/colm/input.h
index 6a65385c..f5b39b4d 100644
--- a/colm/input.h
+++ b/colm/input.h
@@ -87,7 +87,6 @@ typedef struct _RunBuf
RunBuf *newRunBuf();
typedef struct _StreamImpl StreamImpl;
-typedef struct ColmLocation Location;
struct StreamFuncs
{
@@ -95,7 +94,7 @@ struct StreamFuncs
int (*getData)( StreamImpl *ss, char *dest, int length );
- int (*consumeData)( StreamImpl *ss, int length, Location *loc );
+ int (*consumeData)( StreamImpl *ss, int length, struct ColmLocation *loc );
int (*undoConsumeData)( StreamImpl *ss, const char *data, int length );
struct ColmTree *(*consumeTree)( StreamImpl *ss );