idlebox / 2007 / flex-bison-cpp-example / flex-bison-cpp-example-0.1.4 / doxygen-html / y_8tab_8h_source.html.html (Download File)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Flex Bison C++ Example: src/y.tab.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>src/y.tab.h</h1><a href="y_8tab_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// $Id: y.tab.h 39 2008-08-03 10:07:15Z tb $</span>
<a name="l00004"></a>00004 <span class="comment"></span><span class="comment">/* When using automake the bison parser file "xyz.yy" is processed by the</span>
<a name="l00005"></a>00005 <span class="comment"> * ylwrap script. It calls bison in a separate directory, which outputs source</span>
<a name="l00006"></a>00006 <span class="comment"> * to the default names "y.tab.c" and "y.tab.h". The ylwrap script then renames</span>
<a name="l00007"></a>00007 <span class="comment"> * these files into "xyz.cc" and "xyz.h" and tries to update include references</span>
<a name="l00008"></a>00008 <span class="comment"> * using sed. However this does not work for the C++ parser skeleton, so the</span>
<a name="l00009"></a>00009 <span class="comment"> * source file "xyz.cc" still refers to the default "y.tab.h". The easiest</span>
<a name="l00010"></a>00010 <span class="comment"> * work-around is to use this forwarding include file. */</span>
<a name="l00011"></a>00011
<a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="scanner_8h.html">scanner.h</a>"</span>
<a name="l00013"></a>00013
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Sep 5 10:26:25 2009 for Flex Bison C++ Example by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>
RSS 2.0 Weblog Feed Atom 1.0 Weblog Feed Valid XHTML 1.1 Valid CSS (2.1)