summaryrefslogtreecommitdiff
path: root/src/input.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-05-10 13:55:46 -0400
committerAdrian Thurston <thurston@complang.org>2015-05-10 13:55:46 -0400
commit26ba9ef6c965fed03f081054bdb11d212e55f311 (patch)
tree0da628ce54880121fe7af7b7b9cf5b0f2d30dee4 /src/input.h
parentbb0f6a3e4a9117674eb91eb1226bb1b692319c4b (diff)
downloadcolm-26ba9ef6c965fed03f081054bdb11d212e55f311.tar.gz
merged FsmRun and PdaRun into pda_run, eliminated typedef
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/input.h b/src/input.h
index 89bfe4b1..095a643c 100644
--- a/src/input.h
+++ b/src/input.h
@@ -40,29 +40,11 @@ extern "C" {
#define INPUT_TREE 6
#define INPUT_IGNORE 7
-/*
- * pdaRun <- fsmRun <- stream
- *
- * Activities we need to support:
- *
- * 1. Stuff data into an input stream each time we <<
- * 2. Detach an input stream, and attach another when we include
- * 3. Send data back to an input stream when the parser backtracks
- * 4. Temporarily stop parsing due to a lack of input.
- *
- * At any given time, the fsmRun struct may have a prefix of the stream's
- * input. If getting data we first get what we can out of the fsmRun, then
- * consult the stream. If sending data back, we first shift pointers in the
- * fsmRun, then ship to the stream. If changing streams the old stream needs to
- * take back unprocessed data from the fsmRun.
- */
-
struct LangEl;
struct Pattern;
struct PatternItem;
struct Constructor;
struct ConsItem;
-struct _FsmRun;
struct colm_tree;
struct colm_stream;
struct colm_location;