summaryrefslogtreecommitdiff
path: root/chapter24/src/main/smp
diff options
context:
space:
mode:
Diffstat (limited to 'chapter24/src/main/smp')
-rw-r--r--chapter24/src/main/smp/sys.smp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter24/src/main/smp/sys.smp b/chapter24/src/main/smp/sys.smp
index cda93abe..6a6d3ca3 100644
--- a/chapter24/src/main/smp/sys.smp
+++ b/chapter24/src/main/smp/sys.smp
@@ -154,7 +154,7 @@ struct sys {
// parseAryI64 & aryi64.str are bijections modulo whitespace.
// Returns null if the parse failed.
val parseAryI64 = { u8[~] str ->
- sys.Scan !s = new sys.Scan{ buf = str; };
+ !sys.Scan !s = new sys.Scan{ buf = str; };
if( !s.match('[') ) return null;
// Array of parsed results
var nums = new sys.aryi64{ buf=new i64[1]; };