How to make YY_INPUT point to a string rather than stdin in Lex & Yacc (Solaris)

后端 未结 5 823
礼貌的吻别
礼貌的吻别 2020-12-01 16:55

I want my yylex() to parse a string rather than a file or standard input. How can I do it with the Lex and Yacc provided with Solaris?

5条回答
提交回复
热议问题