diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-13 09:09:22 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-13 09:11:16 -0700 |
commit | 01caf342d072115c27926b1a61c2fc75ab9fbee0 (patch) | |
tree | 72d8a05a5e90c61f4cbab201e3b2d6625199bb8f /074keyboard.mu | |
parent | 12cc442f4aa4286150aa12316e74da38bc35b96c (diff) | |
download | mu-01caf342d072115c27926b1a61c2fc75ab9fbee0.tar.gz |
1362
Mu allows us to use multiple ingredients/products without commas, but make sure we don't. $ grep "<- [^ ]\+ [^#\[,]* [^#\[,]*$" * $ grep "^[ ]*[^ #,][^#,]* [^#,]* <- " *
Diffstat (limited to '074keyboard.mu')
-rw-r--r-- | 074keyboard.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/074keyboard.mu b/074keyboard.mu index 7149a290..dd7740e9 100644 --- a/074keyboard.mu +++ b/074keyboard.mu @@ -9,11 +9,11 @@ container keyboard [ # can't think of another word like screen/display, so real recipe init-fake-keyboard [ default-space:address:array:location <- new location:type, 30:literal result:address:keyboard <- new keyboard:type - buf:address:address:array:character <- get-address result:address:keyboard/deref data:offset + buf:address:address:array:character <- get-address result:address:keyboard/deref, data:offset #? $start-tracing #? 1 buf:address:address:array:character/deref <- next-ingredient #? $stop-tracing #? 1 - idx:address:integer <- get-address result:address:keyboard/deref index:offset + idx:address:integer <- get-address result:address:keyboard/deref, index:offset idx:address:integer/deref <- copy 0:literal reply result:address:keyboard ] |