diff options
author | mccraig mccraig of the clan mccraig | 2017-09-19 20:52:43 +0100 |
---|---|---|
committer | mccraig mccraig of the clan mccraig | 2017-09-19 20:52:43 +0100 |
commit | ccc065035fd06496ece9c7ddb0ef20f436265723 (patch) | |
tree | d30950f8667a6ecb224e477cd71882bed93cc2c9 /stdlib/source | |
parent | ddac5af82dc943146b8c34a736b39bc1557db4f1 (diff) |
fix duration frame and encoding tests
Diffstat (limited to 'stdlib/source')
-rw-r--r-- | stdlib/source/lux/time/duration.lux | 2 |
1 files changed, 1 insertions, 1 deletions
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<Text,Int> (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 |