提交 92bb1cc3 编写于 作者: J Jonathon Marolf

Update syntax generator to correctly write enums

Previously we would read/write enums as objects.  Now we correctly write them out as integers
上级 d2beae69
......@@ -442,6 +442,8 @@ Friend Class GreenNodeWriter
Select Case type
Case "Integer"
Return "ReadInt32"
Case "SyntaxKind"
Return "ReadInt32"
Case "Boolean"
Return "ReadBoolean"
Case Else
......@@ -453,6 +455,8 @@ Friend Class GreenNodeWriter
Select Case type
Case "Integer"
Return "WriteInt32"
Case "SyntaxKind"
Return "WriteInt32"
Case "Boolean"
Return "WriteBoolean"
Case Else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册