From ccc065035fd06496ece9c7ddb0ef20f436265723 Mon Sep 17 00:00:00 2001 From: mccraig mccraig of the clan mccraig Date: Tue, 19 Sep 2017 20:52:43 +0100 Subject: fix duration frame and encoding tests --- stdlib/source/lux/time/duration.lux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/source') diff --git a/stdlib/source/lux/time/duration.lux b/stdlib/source/lux/time/duration.lux index 61f2452a6..2adc023a2 100644 --- a/stdlib/source/lux/time/duration.lux +++ b/stdlib/source/lux/time/duration.lux @@ -102,7 +102,7 @@ (def: (lex-section suffix) (-> Text (l;Lexer Int)) (|> (p;codec number;Codec (l;many l;decimal)) - (p;before (l;this suffix)) + (p;before (p;seq (l;this suffix) (p;not l;alpha))) (p;default 0))) (def: lex-duration -- cgit v1.2.3