parsing - M4 "No such file or directory".Bison -


this code in file skener.y

 %{ #include <stdio.h> %} %token t_int %%  exp:      t_int           { $$ = $1;         } | exp exp '+'     { $$ = $1 + $2;    } | exp exp '-'     { $$ = $1 - $2;    } | exp exp '*'     { $$ = $1 * $2;    } | exp exp '/'     { $$ = $1 / $2;    }  ; %% 

when compile comand "bison -d skener.y" error "m4: no such file or directory.". of course located in working folder when typing command in prompt. dont know about?

it means haven't installed bison -- have executable, missing support files.

go , reinstall bison.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -