From 50c5af4290aed32a7733768c1bee2e64c93a7f84 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Sun, 28 Feb 2016 20:02:36 -0800 Subject: Allow trailing and ',' and references in data. This change adds support for two things: data $foo {l 123,} Which allows easier machine generation of data statements. It also adds the ability to parse and emit references in data declarations. --- lisc/lisc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisc/lisc.h') diff --git a/lisc/lisc.h b/lisc/lisc.h index 18d435d..fd0a8ba 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -440,7 +440,12 @@ struct Dat { double fltd; float flts; char *str; + struct { + char *nam; + int64_t off; + } ref; } u; + char isref; }; -- cgit 1.4.1