Date: Thu, 28 Nov 1996 10:14:54 +0200 (EET) From: Andrew Stesin <stesin@gu.net> To: Chuck Robey <chuckr@glue.umd.edu> Cc: Terry Lambert <terry@lambert.org>, hackers@FreeBSD.org Subject: Re: Lex/Yacc question Message-ID: <Pine.BSI.3.95.961128101042.2917G-100000@creator.gu.kiev.ua> In-Reply-To: <Pine.OSF.3.95.961127201858.3053A-100000@uplink.eng.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> > echo This is an undelimited yytext[] to my eol to pass to echo() lex: [^\n]+\n return UNDELIMITED_YYTEXT; yacc: UNDELIMITED_YYTEXT { echo($1); } or something like the above (I used lex+yacc years ago). -- Best, Andrew Stesin nic-hdl: ST73-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.961128101042.2917G-100000>