summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-01-01 00:26:11 +0000
committerAdrian Thurston <thurston@complang.org>2012-01-01 00:26:11 +0000
commita19f22e0a5f9eaeab88b68a4ec048912912d6332 (patch)
treed40b127949bd7aa0c7f664f33f8f898435b4a0d0
parent80e66c98f2e2c88d0234527ddf3ddde03f311b87 (diff)
downloadcolm-a19f22e0a5f9eaeab88b68a4ec048912912d6332.tar.gz
Superid test needs to be adjusted since splitting the stream into two objects.
-rw-r--r--colm/pdabuild.cc1
-rw-r--r--test/superid.exp4
2 files changed, 3 insertions, 2 deletions
diff --git a/colm/pdabuild.cc b/colm/pdabuild.cc
index 00fe768f..98eff77e 100644
--- a/colm/pdabuild.cc
+++ b/colm/pdabuild.cc
@@ -213,6 +213,7 @@ void ParseData::makeLangElIds()
assert( intLangEl->id == LEL_ID_INT );
assert( strLangEl->id == LEL_ID_STR );
assert( streamLangEl->id == LEL_ID_STREAM );
+ assert( accumStreamLangEl->id == LEL_ID_ACCUM_STREAM );
assert( ignoreListLangEl->id == LEL_ID_IGNORE_LIST );
}
diff --git a/test/superid.exp b/test/superid.exp
index 31f8723d..461f8bf5 100644
--- a/test/superid.exp
+++ b/test/superid.exp
@@ -1,7 +1,7 @@
old_id = NIL
-new_id = 12
+new_id = 13
old_id = NIL
-new_id = 11
+new_id = 12
this is item2
<start><item2><e2></e2><_literal_0001>!</_literal_0001><_literal_0002>a</_literal_0002><super_id>b</super_id><super_id>b</super_id><_literal_0002>a</_literal_0002></item2><_literal_0003>;
</_literal_0003></start> \ No newline at end of file