Skip to content
Browse files

Fixed -reset textual output

  • Loading branch information...
1 parent a55184f commit 4571950440bd9a9858ac35f4dd0a1a1d415a8fcb @gatesphere committed Mar 7, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 lang/Note.io
  2. +1 −1 lang/TokenTable.io
  3. +1 −0 test/concurrent_test.silica
View
2 lang/Note.io
@@ -31,7 +31,7 @@ silica Note := Object clone do(
self statestack = list
)
- reset := method(self init; list(self, nil))
+ reset := method(self init; self)
// pitch+register
rp := method(
View
2 lang/TokenTable.io
@@ -137,7 +137,7 @@ silica TokenTable := Object clone do(
))
self add(home, "-exit", silica MetaCommand with("-EXIT", "Exit silica.", block(silica exit = true; "-EXIT")))
self add(home, "-state", silica MetaCommand with("-STATE", "Print the state of the note.", block("-STATE\n" .. silica Note asString)))
- self add(home, "-reset", silica MetaCommand with("-RESET", "Reset the state of the note.", block("-RESET\n" .. silica Note reset asString)))
+ self add(home, "-reset", silica MetaCommand with("-RESET", "Reset the state of the note.", block("-RESET\n" .. silica Note reset)))
self add(home, "-@?" , silica MetaCommand with("-@?", "Display information about the current namespace.",
block(
ns := silica REPL REPL currentNamespace
View
1 test/concurrent_test.silica
@@ -1,4 +1,5 @@
-debug
+-siren
hat >> play rp play lp play
parta >> 3lp hat
partb >> 3rp hat

0 comments on commit 4571950

Please sign in to comment.
Something went wrong with that request. Please try again.