chiark / gitweb /
src/: Abolish the distinction between different kinds of initializers.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 5 Jan 2016 19:18:55 +0000 (19:18 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 29 May 2016 14:09:03 +0000 (15:09 +0100)
commita888e3acc123993fa6fca9338f291b306aa131e2
tree746c4dcf96a13f69e07dbb6fae32cf288b977806
parent1622ed8e30b05ba9025520cde3e68d186c8c7e50
src/: Abolish the distinction between different kinds of initializers.

It made parsing difficult, both because the kind and value needed to be
carted about together, and just technically because of `scan-c-fragment'
interacts badly with token-level lookahead.

Against that, the formatting benefits are very slim, and more so when
one considers that there are ugly `#line' markers around the value
fragment.

So, the distinction is gone; there are no more `value-kind' slots or
arguments; and the `value-form' is now just plain `value'.

This is a fairly straightforward change (except for the radical
simplification of the `parse-initializer' function, which hardly needs
to exist any more), but somewhat far-reaching.
doc/SYMBOLS
doc/meta.tex
doc/syntax.tex
src/builtin.lisp
src/class-make-impl.lisp
src/class-make-proto.lisp
src/class-output.lisp
src/classes.lisp
src/module-parse.lisp
src/sod-module.5