diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-02-28 20:02:36 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-02-28 20:16:20 -0800 |
commit | 50c5af4290aed32a7733768c1bee2e64c93a7f84 (patch) | |
tree | ee2d1b70942006735e3d8af44ab38de43c94818a /lisc/lisc.h | |
parent | ec7c4e0d60e22c10b6f7817436bd3f4abf2d5356 (diff) | |
download | roux-50c5af4290aed32a7733768c1bee2e64c93a7f84.tar.gz |
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.
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r-- | lisc/lisc.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; }; |