diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-05-15 23:47:12 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-05-15 23:47:12 -0700 |
commit | 438e5a0db04d7a6e1a7199771cca16720c0b4b8d (patch) | |
tree | ffed8f360daa0cb4e8b272ff1c02317aef4a94fa /subx/057write.subx | |
parent | 50581f2a0e439f2bb8386406e3a493f17d387ab1 (diff) | |
download | mu-438e5a0db04d7a6e1a7199771cca16720c0b4b8d.tar.gz |
complete the skeleton of dquotes.subx
Still some failing tests: - emit-string-literal-data doesn't ignore metadata when computing the length of literal strings - emit-string-literal-data doesn't handle escape sequences One issue doesn't have a failing test: - emit-metadata doesn't handle string literals containing '/' All these open issues involve a common design question: how to parse a 'word' that includes a string literal that may include spaces. For everything else I know words can't contain spaces and datums can't contain slashes. But for string literals things are tougher.
Diffstat (limited to 'subx/057write.subx')
-rw-r--r-- | subx/057write.subx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/subx/057write.subx b/subx/057write.subx index 455146ac..203cbf76 100644 --- a/subx/057write.subx +++ b/subx/057write.subx @@ -151,8 +151,9 @@ _test-stream: # current read index 0/imm32 # length - 8/imm32 - # data - 00 00 00 00 00 00 00 00 # 8 bytes + 0x10/imm32 + # data (2 lines x 8 bytes/line) + 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 # . . vim:nowrap:textwidth=0 |