]> ocean-lang.org Git - ocean/commit
parsergen: remove symbol synthesis option.
authorNeilBrown <neil@brown.name>
Mon, 19 Feb 2018 04:32:46 +0000 (15:32 +1100)
committerNeilBrown <neil@brown.name>
Mon, 19 Feb 2018 04:32:46 +0000 (15:32 +1100)
commita516fb8ec4c1cb9d7de97ccf40d93496d46f4168
treec4030f884c945c3618d758e67ccf49309da9d2cb
parent69b32e1af53f61ab687421cc8316f4b90d40dc38
parsergen: remove symbol synthesis option.

This idea never worked, and cannot work as we cannot
magically synthesis the ast node to go with a synthesized
symbol.
If we want to synthesize something on error, we just use
a production like
   foo -> ERRROR ${ $0 = a_new_for(); }$

Signed-off-by: NeilBrown <neil@brown.name>
csrc/parsergen.mdc