Summary Files Commits Branches @commit @diff @stats
path: root / src / StringConsumer
diff options
context:
space:
mode:
2 files changed, 2 insertions, 2 deletions
-rw-r--r--src/StringConsumer/IWordsConsumer.cl (renamed from src/StringConsumer/IWordConsumer.cl)2
-rw-r--r--src/StringConsumer/WhitespaceConsumer.cl2
diff --git a/src/StringConsumer/IWordConsumer.cl b/src/StringConsumer/IWordsConsumer.cl
index 1146710..ac782b4 100644
--- a/src/StringConsumer/IWordConsumer.cl
+++ b/src/StringConsumer/IWordsConsumer.cl
@@ -49,7 +49,7 @@ class WordList inherits System {
};
};
-class IWordConsumer inherits IStringConsumer {
+class IWordsConsumer inherits IStringConsumer {
matched_words: WordList <- new WordList;
consume(s: String) : Int {{
diff --git a/src/StringConsumer/WhitespaceConsumer.cl b/src/StringConsumer/WhitespaceConsumer.cl
index 8f20385..3a8c4dc 100644
--- a/src/StringConsumer/WhitespaceConsumer.cl
+++ b/src/StringConsumer/WhitespaceConsumer.cl
@@ -1,4 +1,4 @@
-class WhitespaceConsumer inherits IWordConsumer {
+class WhitespaceConsumer inherits IWordsConsumer {
init() : IStringConsumer {{
matched_words <- matched_words
.push(" ")