Skip to content

Conversation

@mhanberg
Copy link
Owner

No description provided.

Fixed the weird behaviour problem by defining types for each of the ast
nodes and then referencing those types when defining the ast type.

Unclear why this works, but I imagine it has to do with the types not
being a big part of the compilation process or something.
This also uses the typed_struct library to do so. Seems pretty slick and
does what it claims it does.
This basically just adds svg elements as void and nonvoid element
aliases and it works, will test on a real proejct before releasing the
next release.
@mhanberg mhanberg marked this pull request as ready for review September 20, 2022 00:19
This complicates the code, and since they are already deprecated, those
who are writing Temple probably won't be using them
@mhanberg mhanberg merged commit 99cbb42 into main Sep 20, 2022
@mhanberg mhanberg deleted the mh/svg branch September 20, 2022 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants