<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bison - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/bison/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Mon, 16 Sep 2013 01:24:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Make a reentrant parser with Flex and Bison（Flex&#038;Bison的线程安全）</title>
		<link>https://www.coder4.com/archives/3978</link>
					<comments>https://www.coder4.com/archives/3978#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 16 Sep 2013 01:24:15 +0000</pubDate>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[bison]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[线程安全]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3978</guid>

					<description><![CDATA[转载自：http://www.lemoda.net/c/reentrant-parser/index.html Making a reentrant (thread-safe) parser with Flex and Bison involves several stages. To eliminate global variables from Flex, use the following line: %option reentrant This changes yylex[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3978/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>flex &#038; bison 如何用yylval传递字符串值</title>
		<link>https://www.coder4.com/archives/3975</link>
					<comments>https://www.coder4.com/archives/3975#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sun, 15 Sep 2013 14:51:03 +0000</pubDate>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[bison]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[yylval]]></category>
		<category><![CDATA[字符串]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3975</guid>

					<description><![CDATA[flex进行scanner，将数值存入yylval。 而bison读取yylval之中的值。 神奇的yylval是int类型，如何让它存储多种类型呢？ 以string为例： 需要在.l和.y的头部第一句加入： #define YYSTYPE char* 在.l赋值的时候，要特别注意，需要拷贝字符串。 yylval = strdup(yytext); return WORD; 在.y取用的时候，直接强转就可以了。 (char*)$1 关于更优雅的实现方式，当然[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3975/feed</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Linux下编译安装libpcap</title>
		<link>https://www.coder4.com/archives/1001</link>
					<comments>https://www.coder4.com/archives/1001#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 21 Sep 2010 14:56:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[bison]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[libpcap]]></category>
		<category><![CDATA[编译安装]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1001</guid>

					<description><![CDATA[要做Sniffer了，先在Linux下编译一下libpcap 1、编译安装flex #libpcap 1.1要求flex必须在2.4.6及以上 wget http://prdownloads.sourceforge.net/flex/flex-2.5.35.tar.gz?download tar -xzvf flex-2.5.35.tar.gz cd flex-2.5.35 ./configure --prefix=/usr make -j sudo make install[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1001/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
