aboutsummaryrefslogtreecommitdiff
path: root/core/collections.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-09-15 15:39:38 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-09-15 15:39:57 -0700
commitf8cfdd0f2276afe2f924295c192256601db595db (patch)
treedbc479765e51b3172f03103eea7dd1f694914365 /core/collections.nom
parentb721356d8bff2631b90c5c091568327b2ca187fc (diff)
Better parsing of strings and handling of non-printable characters and
tabs.
Diffstat (limited to 'core/collections.nom')
-rw-r--r--core/collections.nom3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/collections.nom b/core/collections.nom
index 5daaa09..8dbc79d 100644
--- a/core/collections.nom
+++ b/core/collections.nom
@@ -84,8 +84,7 @@ parse [..]
# Dict comprehensions
test:
assume (((% * %) = % for % in [1, 2, 3]) == {1:1, 4:2, 9:3})
-parse [%key = %value for %item in %iterable, %key %value for %item in %iterable] as
-..(..)
+parse [%key = %value for %item in %iterable, %key %value for %item in %iterable] as (..)
result of:
%comprehension = {}
for %item in %iterable: