4

Bison on windows does not produce an output file.

This is the error message I get.

m4_define([b4_percent_define(lr.keep_unreachable_states)],
[[false]])

m4_define([b4_rhs_min],
[[-1]])

m4_define([b4_pact_min],
[[-5]])

m4_define([b4_conflicting_rules],
[[     0]])

I have solved this question myself, this is for others.

2
  • The 'expected' form is to ask the question, then write your answer.
    – lexu
    Feb 6, 2010 at 9:45
  • And then you can accept your own answer as correct after a day (or so). This way people with similar questions can search SO and find this question and see that it has an valid answer.
    – Nifle
    Feb 6, 2010 at 10:18

1 Answer 1

6

It seems Bison doesn't correctly handles paths contaning space. Move Bison (GnuWin32) folder to a folder without blanks in it's path.

1
  • If your Gnuwin32 is in C:\Program Files (x86) you should move to another directory. You can move it to D:\Gnuwin32 and add the new path to environment variables. Note: Program Files (x86) or Program Files has a space separating Program and files and hence it shows an error. -Extended explanation to the answer provided by DSblizzard
    – Tsv Aditya
    Apr 28, 2019 at 5:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.