Hi I'm newbie in bison. I have a grammar with string tokens like this:
B0: 'token_str1' B1 B1: B2 | B3 B2: 'token_str2' | 'token_str3' B3 ..... 'token_str#' is my token string and is only a lower case string with no numbers. 'token_str#' can be any string, I assume that each 'token_str#' in my grammar is correctly. How I can write a yylex function to retrieve this tokens? Thanks for any suggestion or example. Bye _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison