aboutsummaryrefslogtreecommitdiff
path: root/nomsu.4.peg
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-29 14:23:02 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-29 14:23:17 -0800
commit7a7dcefc447c4a4b20755fb6fb919a2f6328eafd (patch)
tree7fd40f9cb9d610ea60a444172f78763ecbc17d55 /nomsu.4.peg
parent04c80440fb503a604cd0cfd6b316add7d9b99f7a (diff)
Added text comprehensions (in the style of the list/dict ones)
Diffstat (limited to 'nomsu.4.peg')
-rw-r--r--nomsu.4.peg2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.4.peg b/nomsu.4.peg
index f5ce940..d1840f9 100644
--- a/nomsu.4.peg
+++ b/nomsu.4.peg
@@ -171,7 +171,7 @@ indented_plain_text (Text):
~}
text_interpolation:
- inline_text_interpolation / ("\" indented_expression (blank_lines =curr_indent "..")?)
+ inline_text_interpolation / ("\" (indented_expression / indented_block) (blank_lines =curr_indent "..")?)
number (Number):
(&("-"? "0x" [0-9a-fA-F]+) {:hex: '' -> 'yes' :})?