Menu

Error at Flex section of "win_flex_bison_custom_build.props" file

Hynek
2014-11-25
2014-11-25
  • Hynek

    Hynek - 2014-11-25

    There should be: <OutputFile>%(Filename).flex.cpp</OutputFile>
    instead of: <OutputFile>%(Filename).tab.cpp</OutputFile>

    at the Flex section. This is a corrected one:

      <ItemDefinitionGroup>
        <Flex>
          <OutputFile>%(Filename).flex.cpp</OutputFile>
          <Wincompat>true</Wincompat>
          <CommandLineTemplate>
    start /B /WAIT /D "%(RootDir)%(Directory)" win_flex.exe [AllOptions] "%(Filename)%(Extension)"
    exit /b %errorlevel%</CommandLineTemplate>
          <Outputs>%(RootDir)%(Directory)%(OutputFile);</Outputs>
          <ExecutionDescription>Process "%(Filename)%(Extension)" flex file</ExecutionDescription>
        </Flex>
      </ItemDefinitionGroup>
    
     
    • Alex Zhondin

      Alex Zhondin - 2014-11-25

      Thank you!
      There is a typo in win_flex_bison_custom_build.props file. I've fixed it and updated packages.

      Please check

       

Log in to post a comment.