<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>i3: context Struct Reference</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.6.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>context Struct Reference</h1><!-- doxytag: class="context" --> <p>Used during the config file lexing/parsing to keep the state of the lexer in order to provide useful error messages in <a class="el" href="a00056.html#a9588ed342b5bc5778bcc1005a6686d0f">yyerror()</a>. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="a00034_source.html">config.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00014.html#a35df08a685492a330208aa04e9deaa80">line_number</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00014.html#a1730ae687d6ed35277ce3562c7f7a347">line_copy</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00014.html#a7182ecd66395c873a28389232a79ed61">filename</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00014.html#a48fb4b9fb66b5fa71d2a33ddeaecae2e">first_column</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00014.html#a3360e4269f673b513a3ce381e9b9fc8e">last_column</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Used during the config file lexing/parsing to keep the state of the lexer in order to provide useful error messages in <a class="el" href="a00056.html#a9588ed342b5bc5778bcc1005a6686d0f">yyerror()</a>. </p> <p>Definition at line <a class="el" href="a00034_source.html#l00033">33</a> of file <a class="el" href="a00034_source.html">config.h</a>.</p> <hr/><h2>Field Documentation</h2> <a class="anchor" id="a7182ecd66395c873a28389232a79ed61"></a><!-- doxytag: member="context::filename" ref="a7182ecd66395c873a28389232a79ed61" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* <a class="el" href="a00014.html#a7182ecd66395c873a28389232a79ed61">context::filename</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="a00034_source.html#l00036">36</a> of file <a class="el" href="a00034_source.html">config.h</a>.</p> <p>Referenced by <a class="el" href="a00056_source.html#l00129">parse_file()</a>, and <a class="el" href="a00056_source.html#l00110">yyerror()</a>.</p> </div> </div> <a class="anchor" id="a48fb4b9fb66b5fa71d2a33ddeaecae2e"></a><!-- doxytag: member="context::first_column" ref="a48fb4b9fb66b5fa71d2a33ddeaecae2e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="a00014.html#a48fb4b9fb66b5fa71d2a33ddeaecae2e">context::first_column</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="a00034_source.html#l00039">39</a> of file <a class="el" href="a00034_source.html">config.h</a>.</p> <p>Referenced by <a class="el" href="a00056_source.html#l00110">yyerror()</a>.</p> </div> </div> <a class="anchor" id="a3360e4269f673b513a3ce381e9b9fc8e"></a><!-- doxytag: member="context::last_column" ref="a3360e4269f673b513a3ce381e9b9fc8e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="a00014.html#a3360e4269f673b513a3ce381e9b9fc8e">context::last_column</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="a00034_source.html#l00040">40</a> of file <a class="el" href="a00034_source.html">config.h</a>.</p> <p>Referenced by <a class="el" href="a00056_source.html#l00110">yyerror()</a>.</p> </div> </div> <a class="anchor" id="a1730ae687d6ed35277ce3562c7f7a347"></a><!-- doxytag: member="context::line_copy" ref="a1730ae687d6ed35277ce3562c7f7a347" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="a00014.html#a1730ae687d6ed35277ce3562c7f7a347">context::line_copy</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="a00034_source.html#l00035">35</a> of file <a class="el" href="a00034_source.html">config.h</a>.</p> <p>Referenced by <a class="el" href="a00056_source.html#l00129">parse_file()</a>, and <a class="el" href="a00056_source.html#l00110">yyerror()</a>.</p> </div> </div> <a class="anchor" id="a35df08a685492a330208aa04e9deaa80"></a><!-- doxytag: member="context::line_number" ref="a35df08a685492a330208aa04e9deaa80" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="a00014.html#a35df08a685492a330208aa04e9deaa80">context::line_number</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="a00034_source.html#l00034">34</a> of file <a class="el" href="a00034_source.html">config.h</a>.</p> <p>Referenced by <a class="el" href="a00056_source.html#l00110">yyerror()</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>include/<a class="el" href="a00034_source.html">config.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>