From 8d555d1e8d73021a690425efb7ea1f52246f4884 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 2 May 2019 21:28:49 +0200 Subject: Accept a stylesheet (alone) as a Storycode document --- libstorycode/storycode.y | 1 + 1 file changed, 1 insertion(+) diff --git a/libstorycode/storycode.y b/libstorycode/storycode.y index a9c3f13..b32173e 100644 --- a/libstorycode/storycode.y +++ b/libstorycode/storycode.y @@ -189,6 +189,7 @@ void set_style(struct scpctx *ctx, const char *element) /* The only thing a "presentation" really needs is narrative */ presentation: stylesheet narrative +| stylesheet | narrative ; -- cgit v1.2.3