summaryrefslogtreecommitdiff
path: root/test/rubyhere.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-01-02 20:48:25 +0000
committerAdrian Thurston <thurston@complang.org>2012-01-02 20:48:25 +0000
commit6cbcc51e9a2e911584340fed83c635655407044f (patch)
tree6139ec63207fc74f01b1251f20e06f3571748f23 /test/rubyhere.lm
parent38e5314851fba1e548ea687519044644a8941879 (diff)
downloadcolm-6cbcc51e9a2e911584340fed83c635655407044f.tar.gz
Added some more attaching/detaching code in the input stream functions.
Fixed the rubyhere test case. It cannot pull rest of line off stdin directly because the data may be on the input stream.
Diffstat (limited to 'test/rubyhere.lm')
-rw-r--r--test/rubyhere.lm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubyhere.lm b/test/rubyhere.lm
index c3a5054a..37004aaa 100644
--- a/test/rubyhere.lm
+++ b/test/rubyhere.lm
@@ -24,10 +24,10 @@ lex here_start
HereId = input.pull( match_length )
# Get the data up to the rest of the line.
- parse_stop ROL: rest_of_line( stdin )
+ parse_stop ROL: rest_of_line( input )
# Parse the heredoc data.
- parse_stop HereData: here_data( stdin )
+ parse_stop HereData: here_data( input )
# Push the rest-of-line data back to the input stream.
input.push( $ROL )