around an MSYS bug in the main DLL, and copy the m4.exe binary we ship with bison into the flex directory, too.legacy
@@ -20,5 +20,5 @@ using System.Runtime.InteropServices; | |||||
// The following GUID is for the ID of the typelib if this project is exposed to COM | // The following GUID is for the ID of the typelib if this project is exposed to COM | ||||
[assembly: Guid("58968f91-edb8-4a4c-9f4f-ba39fdb4a21a")] | [assembly: Guid("58968f91-edb8-4a4c-9f4f-ba39fdb4a21a")] | ||||
[assembly: AssemblyVersion("1.0.0.2")] | |||||
[assembly: AssemblyFileVersion("1.0.0.2")] | |||||
[assembly: AssemblyVersion("1.0.0.3")] | |||||
[assembly: AssemblyFileVersion("1.0.0.3")] |
@@ -115,6 +115,15 @@ namespace Lol.VisualStudio.Plugin | |||||
string flex_path = external_path + "\\external\\flex-2.5.35"; | string flex_path = external_path + "\\external\\flex-2.5.35"; | ||||
string bison_path = external_path + "\\external\\bison-2.4.2"; | string bison_path = external_path + "\\external\\bison-2.4.2"; | ||||
/* Workaround for an MSYS bug. If these directories don't | |||||
* exist, fork() will fail. Yeah, wtf. */ | |||||
try | |||||
{ | |||||
Directory.CreateDirectory(flex_path + "\\etc"); | |||||
Directory.CreateDirectory(bison_path + "\\etc"); | |||||
} | |||||
catch (Exception e) { } | |||||
// Run flex on all the .l files | // Run flex on all the .l files | ||||
foreach (ProjectItem item in ParseProjectItems(project)) | foreach (ProjectItem item in ParseProjectItems(project)) | ||||
{ | { | ||||
@@ -3,7 +3,7 @@ | |||||
<Identifier Id="VsLol.Sample"> | <Identifier Id="VsLol.Sample"> | ||||
<Name>VsLol</Name> | <Name>VsLol</Name> | ||||
<Author>Lol</Author> | <Author>Lol</Author> | ||||
<Version>1.0.0.2</Version> | |||||
<Version>1.0.0.3</Version> | |||||
<Description xml:space="preserve">Lol Engine Productivity Tools.</Description> | <Description xml:space="preserve">Lol Engine Productivity Tools.</Description> | ||||
<Locale>1033</Locale> | <Locale>1033</Locale> | ||||
<InstalledByMsi>false</InstalledByMsi> | <InstalledByMsi>false</InstalledByMsi> | ||||