Questions tagged as 'bison'

1
answer

Syntax Error in lex / flex

Because my flex / lex recognizer has a syntax error when I try to recognize the WRITE 1 text %{ #include "gram.h" int yyerror(const char *s); %} /* letras [A-Za-z]+ */ /* id ({letras})({letras}|{digito})* */ %% "ESCREVER" {retu...
asked by 12.01.2017 / 13:30
1
answer

Segmentation fault (recorded core image) in YACC / Bison

ERROR while doing integer printf When I try to enter the text: WRITE 10;                                   FINISH; the segmentation fault (core image saved) error appears, since the list is a string type and I can not do integer printf. Follo...
asked by 16.01.2017 / 19:58