Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 22 additions & 23 deletions bblfsh/pyuast.cc
Original file line number Diff line number Diff line change
Expand Up @@ -477,29 +477,28 @@ static struct PyModuleDef module_def = {
PyMODINIT_FUNC
PyInit_pyuast(void)
{
NodeIface iface = {
.InternalType = InternalType,
.Token = Token,
.ChildrenSize = ChildrenSize,
.ChildAt = ChildAt,
.RolesSize = RolesSize,
.RoleAt = RoleAt,
.PropertiesSize = PropertiesSize,
.PropertyKeyAt = PropertyKeyAt,
.PropertyValueAt = PropertyValueAt,
.HasStartOffset = HasStartOffset,
.StartOffset = StartOffset,
.HasStartLine = HasStartLine,
.StartLine = StartLine,
.HasStartCol = HasStartCol,
.StartCol = StartCol,
.HasEndOffset = HasEndOffset,
.EndOffset = EndOffset,
.HasEndLine = HasEndLine,
.EndLine = EndLine,
.HasEndCol = HasEndCol,
.EndCol = EndCol,
};
NodeIface iface;
iface.InternalType = InternalType;
iface.Token = Token;
iface.ChildrenSize = ChildrenSize;
iface.ChildAt = ChildAt;
iface.RolesSize = RolesSize;
iface.RoleAt = RoleAt;
iface.PropertiesSize = PropertiesSize;
iface.PropertyKeyAt = PropertyKeyAt;
iface.PropertyValueAt = PropertyValueAt;
iface.HasStartOffset = HasStartOffset;
iface.StartOffset = StartOffset;
iface.HasStartLine = HasStartLine;
iface.StartLine = StartLine;
iface.HasStartCol = HasStartCol;
iface.StartCol = StartCol;
iface.HasEndOffset = HasEndOffset;
iface.EndOffset = EndOffset;
iface.HasEndLine = HasEndLine;
iface.EndLine = EndLine;
iface.HasEndCol = HasEndCol;
iface.EndCol = EndCol;

ctx = UastNew(iface);
return PyModule_Create(&module_def);
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from setuptools import setup, find_packages, Extension
from setuptools.command.build_ext import build_ext

VERSION = "2.10.0"
LIBUAST_VERSION = "v1.9.1"
VERSION = "2.10.1"
LIBUAST_VERSION = "v1.9.4"
SDK_VERSION = "v1.16.1"
SDK_MAJOR = SDK_VERSION.split('.')[0]
FORMAT_ARGS = globals()
Expand Down