fix: parsers should export the language function on windows

This commit is contained in:
Amaan Qureshi 2024-03-04 22:27:22 -05:00
parent 304f8b7c04
commit 54a31069af

View file

@ -1346,7 +1346,7 @@ impl Generator {
add_line!(self, "#endif");
add_line!(self, "");
add_line!(self, "#ifdef _WIN32");
add_line!(self, "#define TS_PUBLIC");
add_line!(self, "#define TS_PUBLIC __declspec(dllexport)");
add_line!(self, "#else");
add_line!(
self,