Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 67e32647b06c0323bf90c6b54a6438d1 > files > 370

rpm-apidocs-4.4.2.3-34.el5.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>rpm: lua/llex.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</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>Globals</span></a></li>
  </ul></div>
<h1>lua/llex.c File Reference</h1><code>#include &lt;ctype.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &quot;lua.h&quot;</code><br>
<code>#include &quot;<a class="el" href="ldo_8h-source.html">ldo.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="llex_8h-source.html">llex.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="lobject_8h-source.html">lobject.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="lparser_8h-source.html">lparser.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="lstate_8h-source.html">lstate.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="lstring_8h-source.html">lstring.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="lzio_8h-source.html">lzio.h</a>&quot;</code><br>

<p>
<a href="llex_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#2e2a05c4292ce934408b59470a78472d">llex_c</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#63a4975e63fa906cd2432d0e7b65d304">next</a>(LS)&nbsp;&nbsp;&nbsp;(LS-&gt;<a class="el" href="rpmrc_8c.html#e0f12d04d689cdf45261c09f7421a22e">current</a> = zgetc(LS-&gt;z))</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#934682caeedb813cc7c92ca84ed6eb04">MAXSRC</a>&nbsp;&nbsp;&nbsp;80</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#2c3651199b183197679d54356542c310">EXTRABUFF</a>&nbsp;&nbsp;&nbsp;32</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#9ee6318dd160e4167817dff0f443d634">MAXNOCHECK</a>&nbsp;&nbsp;&nbsp;5</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#057ebc8d1eef667d4ee7284316fd75af">checkbuffer</a>(LS, len)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#2dafb01cf5d69aadcbc676c2a2d7cc9f">save</a>(LS, c, l)&nbsp;&nbsp;&nbsp;(luaZ_buffer((LS)-&gt;buff)[l++] = cast(char, c))</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#b53c9ece94efa523e74d597dca57cd09">save_and_next</a>(LS, l)&nbsp;&nbsp;&nbsp;(save(LS, LS-&gt;<a class="el" href="rpmrc_8c.html#e0f12d04d689cdf45261c09f7421a22e">current</a>, l), next(LS))</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#50834f7eb4b2ac79c8df048988749abe">luaX_init</a> (<a class="el" href="structlua__State.html">lua_State</a> *L)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#680eb8d094b0fdaf53c03bba18250973">luaX_checklimit</a> (<a class="el" href="structLexState.html">LexState</a> *ls, int val, int limit, const char *msg)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#6bfb22d52f0ccbf3f6d7bc924bf11211">luaX_errorline</a> (<a class="el" href="structLexState.html">LexState</a> *ls, const char *s, const char *token, int line)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#99af19628ad221727cae710116ff8f3e">luaX_error</a> (<a class="el" href="structLexState.html">LexState</a> *ls, const char *s, const char *token)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#1304c5741ab55cca55adb3ea2b3331d8">luaX_syntaxerror</a> (<a class="el" href="structLexState.html">LexState</a> *ls, const char *msg)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#fbf0654ae651496d0e8dcebeefbefed6">luaX_token2str</a> (<a class="el" href="structLexState.html">LexState</a> *ls, int token)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#6a5a2777cdeedf348d2252e228ad95dc">luaX_lexerror</a> (<a class="el" href="structLexState.html">LexState</a> *ls, const char *s, int token)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#1d404efcdcf6ae95bbb57ea92c6b2a8c">inclinenumber</a> (<a class="el" href="structLexState.html">LexState</a> *LS)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#6c97b7972c1a6f9bba6fe3e9330ef616">luaX_setinput</a> (<a class="el" href="structlua__State.html">lua_State</a> *L, <a class="el" href="structLexState.html">LexState</a> *LS, <a class="el" href="structZio.html">ZIO</a> *z, <a class="el" href="unionTString.html">TString</a> *source)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#e0d026eb925cc2fd2ec370423b790a24">readname</a> (<a class="el" href="structLexState.html">LexState</a> *LS)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#2f2c374ca970aa6a3d7d27b802cec9f9">read_numeral</a> (<a class="el" href="structLexState.html">LexState</a> *LS, int comma, <a class="el" href="unionSemInfo.html">SemInfo</a> *seminfo)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#adb281a9d922aacc49eb17134393e714">read_long_string</a> (<a class="el" href="structLexState.html">LexState</a> *LS, <a class="el" href="unionSemInfo.html">SemInfo</a> *seminfo)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#3b4c0cdac2bf8e65843193ec1b3316c6">read_string</a> (<a class="el" href="structLexState.html">LexState</a> *LS, int del, <a class="el" href="unionSemInfo.html">SemInfo</a> *seminfo)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#0a4d5dfe01f3cece59f14deef2a069d8">luaX_lex</a> (<a class="el" href="structLexState.html">LexState</a> *LS, <a class="el" href="unionSemInfo.html">SemInfo</a> *seminfo)</td></tr>

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="llex_8c.html#ade6e667a2ec6d1f822b0a3d5fbc6238">token2string</a> []</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="057ebc8d1eef667d4ee7284316fd75af"></a><!-- doxytag: member="llex.c::checkbuffer" ref="057ebc8d1eef667d4ee7284316fd75af" args="(LS, len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define checkbuffer          </td>
          <td>(</td>
          <td class="paramtype">LS,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">len&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">if</span> (((len)+<a class="code" href="llex_8c.html#9ee6318dd160e4167817dff0f443d634">MAXNOCHECK</a>)*<span class="keyword">sizeof</span>(<span class="keywordtype">char</span>) &gt; <a class="code" href="lzio_8h.html#072ede62ba384b9d5fdedbb80eaf3ee1">luaZ_sizebuffer</a>((LS)-&gt;buff)) \
      <a class="code" href="lzio_8c.html#4f037d52a7c5321825d6fec40b532648">luaZ_openspace</a>((LS)-&gt;L, (LS)-&gt;buff, (len)+<a class="code" href="llex_8c.html#2c3651199b183197679d54356542c310">EXTRABUFF</a>)
</pre></div>
<p>
Definition at line <a class="el" href="llex_8c-source.html#l00159">159</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00222">read_long_string()</a>, <a class="el" href="llex_8c-source.html#l00183">read_numeral()</a>, <a class="el" href="llex_8c-source.html#l00271">read_string()</a>, and <a class="el" href="llex_8c-source.html#l00168">readname()</a>.
</div>
</div><p>
<a class="anchor" name="2c3651199b183197679d54356542c310"></a><!-- doxytag: member="llex.c::EXTRABUFF" ref="2c3651199b183197679d54356542c310" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXTRABUFF&nbsp;&nbsp;&nbsp;32          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00154">154</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
</div>
</div><p>
<a class="anchor" name="2e2a05c4292ce934408b59470a78472d"></a><!-- doxytag: member="llex.c::llex_c" ref="2e2a05c4292ce934408b59470a78472d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define llex_c          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00011">11</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
</div>
</div><p>
<a class="anchor" name="9ee6318dd160e4167817dff0f443d634"></a><!-- doxytag: member="llex.c::MAXNOCHECK" ref="9ee6318dd160e4167817dff0f443d634" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAXNOCHECK&nbsp;&nbsp;&nbsp;5          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00157">157</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
</div>
</div><p>
<a class="anchor" name="934682caeedb813cc7c92ca84ed6eb04"></a><!-- doxytag: member="llex.c::MAXSRC" ref="934682caeedb813cc7c92ca84ed6eb04" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAXSRC&nbsp;&nbsp;&nbsp;80          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00052">52</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00063">luaX_errorline()</a>.
</div>
</div><p>
<a class="anchor" name="63a4975e63fa906cd2432d0e7b65d304"></a><!-- doxytag: member="llex.c::next" ref="63a4975e63fa906cd2432d0e7b65d304" args="(LS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define next          </td>
          <td>(</td>
          <td class="paramtype">LS&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;(LS-&gt;<a class="el" href="rpmrc_8c.html#e0f12d04d689cdf45261c09f7421a22e">current</a> = zgetc(LS-&gt;z))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00025">25</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
Referenced by <a class="el" href="parseChangelog_8c-source.html#l00111">addChangelog()</a>, <a class="el" href="lparser_8c-source.html#l01387">breakstat()</a>, <a class="el" href="rpmrc_8c-source.html#l00555">doReadRC()</a>, <a class="el" href="lparser_8c-source.html#l01211">forstat()</a>, <a class="el" href="rpmrc_8c-source.html#l01415">freeRpmVar()</a>, <a class="el" href="fts_8c-source.html#l00364">Fts_read()</a>, <a class="el" href="lparser_8c-source.html#l00656">funcargs()</a>, <a class="el" href="lparser_8c-source.html#l01321">funcstat()</a>, <a class="el" href="lparser_8c-source.html#l01242">ifstat()</a>, <a class="el" href="llex_8c-source.html#l00117">inclinenumber()</a>, <a class="el" href="lcode_8c-source.html#l00181">luaK_concat()</a>, <a class="el" href="lcode_8c-source.html#l00129">luaK_patchlistaux()</a>, <a class="el" href="lstring_8c-source.html#l00027">luaS_resize()</a>, <a class="el" href="llex_8c-source.html#l00329">luaX_lex()</a>, <a class="el" href="llex_8c-source.html#l00126">luaX_setinput()</a>, <a class="el" href="lparser_8c-source.html#l00451">luaY_field()</a>, <a class="el" href="lparser_8c-source.html#l00464">luaY_index()</a>, <a class="el" href="lparser_8c-source.html#l00427">luaY_parser()</a>, <a class="el" href="lparser_8c-source.html#l00603">parlist()</a>, <a class="el" href="header_8c-source.html#l02651">parseFormat()</a>, <a class="el" href="lparser_8c-source.html#l00716">prefixexp()</a>, <a class="el" href="lparser_8c-source.html#l00753">primaryexp()</a>, <a class="el" href="llex_8c-source.html#l00271">read_string()</a>, <a class="el" href="lparser_8c-source.html#l01113">repeatstat()</a>, <a class="el" href="lparser_8c-source.html#l01352">retstat()</a>, <a class="el" href="rpmal_8c-source.html#l00419">rpmalAdd()</a>, <a class="el" href="rpmdb_8c-source.html#l00886">rpmdbClose()</a>, <a class="el" href="rpmdb_8c-source.html#l01694">rpmdbFreeIterator()</a>, <a class="el" href="rpmrc_8c-source.html#l01388">rpmGetVarArch()</a>, <a class="el" href="manifest_8c-source.html#l00069">rpmReadPackageManifest()</a>, <a class="el" href="rpmrc_8c-source.html#l01442">rpmSetVarArch()</a>, <a class="el" href="lparser_8c-source.html#l00792">simpleexp()</a>, <a class="el" href="lparser_8c-source.html#l01407">statement()</a>, <a class="el" href="lparser_8c-source.html#l00127">str_checkname()</a>, <a class="el" href="lparser_8c-source.html#l00893">subexpr()</a>, <a class="el" href="lparser_8c-source.html#l01231">test_then_block()</a>, <a class="el" href="lparser_8c-source.html#l00089">testnext()</a>, and <a class="el" href="lparser_8c-source.html#l01069">whilestat()</a>.
</div>
</div><p>
<a class="anchor" name="2dafb01cf5d69aadcbc676c2a2d7cc9f"></a><!-- doxytag: member="llex.c::save" ref="2dafb01cf5d69aadcbc676c2a2d7cc9f" args="(LS, c, l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define save          </td>
          <td>(</td>
          <td class="paramtype">LS,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">c,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">l&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;(luaZ_buffer((LS)-&gt;buff)[l++] = cast(char, c))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00163">163</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00222">read_long_string()</a>, <a class="el" href="llex_8c-source.html#l00183">read_numeral()</a>, <a class="el" href="llex_8c-source.html#l00271">read_string()</a>, <a class="el" href="llex_8c-source.html#l00168">readname()</a>, <a class="el" href="rpmds_8c-source.html#l00892">rpmdsMerge()</a>, <a class="el" href="rpmfi_8c-source.html#l00547">rpmfiDecideFate()</a>, and <a class="el" href="rpmsq_8c-source.html#l00292">rpmsqAction()</a>.
</div>
</div><p>
<a class="anchor" name="b53c9ece94efa523e74d597dca57cd09"></a><!-- doxytag: member="llex.c::save_and_next" ref="b53c9ece94efa523e74d597dca57cd09" args="(LS, l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define save_and_next          </td>
          <td>(</td>
          <td class="paramtype">LS,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">l&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;(save(LS, LS-&gt;<a class="el" href="rpmrc_8c.html#e0f12d04d689cdf45261c09f7421a22e">current</a>, l), next(LS))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00165">165</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00222">read_long_string()</a>, <a class="el" href="llex_8c-source.html#l00183">read_numeral()</a>, <a class="el" href="llex_8c-source.html#l00271">read_string()</a>, and <a class="el" href="llex_8c-source.html#l00168">readname()</a>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="1d404efcdcf6ae95bbb57ea92c6b2a8c"></a><!-- doxytag: member="llex.c::inclinenumber" ref="1d404efcdcf6ae95bbb57ea92c6b2a8c" args="(LexState *LS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void inclinenumber           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>LS</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00117">117</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8h-source.html#l00054">LexState::linenumber</a>, <a class="el" href="llex_8c-source.html#l00055">luaX_checklimit()</a>, <a class="el" href="llimits_8h-source.html#l00065">MAX_INT</a>, and <a class="el" href="llex_8c-source.html#l00025">next</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00329">luaX_lex()</a>, <a class="el" href="llex_8c-source.html#l00222">read_long_string()</a>, and <a class="el" href="llex_8c-source.html#l00271">read_string()</a>.
</div>
</div><p>
<a class="anchor" name="680eb8d094b0fdaf53c03bba18250973"></a><!-- doxytag: member="llex.c::luaX_checklimit" ref="680eb8d094b0fdaf53c03bba18250973" args="(LexState *ls, int val, int limit, const char *msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void luaX_checklimit           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>ls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>limit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00055">55</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8h-source.html#l00059">LexState::L</a>, <a class="el" href="lobject_8c-source.html#l00155">luaO_pushfstring()</a>, and <a class="el" href="llex_8c-source.html#l00079">luaX_syntaxerror()</a>.
<p>
Referenced by <a class="el" href="lparser_8c-source.html#l00317">code_params()</a>, <a class="el" href="llex_8c-source.html#l00117">inclinenumber()</a>, <a class="el" href="lparser_8c-source.html#l00545">listfield()</a>, <a class="el" href="lparser_8c-source.html#l00173">new_localvar()</a>, and <a class="el" href="lparser_8c-source.html#l00491">recfield()</a>.
</div>
</div><p>
<a class="anchor" name="99af19628ad221727cae710116ff8f3e"></a><!-- doxytag: member="llex.c::luaX_error" ref="99af19628ad221727cae710116ff8f3e" args="(LexState *ls, const char *s, const char *token)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void luaX_error           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>ls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>token</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00072">72</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8h-source.html#l00054">LexState::linenumber</a>, and <a class="el" href="llex_8c-source.html#l00063">luaX_errorline()</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00329">luaX_lex()</a>, <a class="el" href="llex_8c-source.html#l00107">luaX_lexerror()</a>, and <a class="el" href="llex_8c-source.html#l00079">luaX_syntaxerror()</a>.
</div>
</div><p>
<a class="anchor" name="6bfb22d52f0ccbf3f6d7bc924bf11211"></a><!-- doxytag: member="llex.c::luaX_errorline" ref="6bfb22d52f0ccbf3f6d7bc924bf11211" args="(LexState *ls, const char *s, const char *token, int line)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void luaX_errorline           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>ls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>token</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>line</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00063">63</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="lobject_8h-source.html#l00191">getstr</a>, <a class="el" href="llex_8h-source.html#l00059">LexState::L</a>, <a class="el" href="ldo_8c-source.html#l00072">luaD_throw()</a>, <a class="el" href="lobject_8c-source.html#l00165">luaO_chunkid()</a>, <a class="el" href="lobject_8c-source.html#l00155">luaO_pushfstring()</a>, <a class="el" href="llex_8c-source.html#l00052">MAXSRC</a>, and <a class="el" href="llex_8h-source.html#l00062">LexState::source</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00072">luaX_error()</a>, and <a class="el" href="lparser_8c-source.html#l00716">prefixexp()</a>.
</div>
</div><p>
<a class="anchor" name="50834f7eb4b2ac79c8df048988749abe"></a><!-- doxytag: member="llex.c::luaX_init" ref="50834f7eb4b2ac79c8df048988749abe" args="(lua_State *L)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void luaX_init           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structlua__State.html">lua_State</a> *&nbsp;</td>
          <td class="paramname"> <em>L</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00041">41</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llimits_8h-source.html#l00108">cast</a>, <a class="el" href="llimits_8h-source.html#l00093">lua_assert</a>, <a class="el" href="lstring_8h-source.html#l00025">luaS_fix</a>, <a class="el" href="lstring_8h-source.html#l00021">luaS_new</a>, <a class="el" href="llex_8h-source.html#l00036">NUM_RESERVED</a>, <a class="el" href="llex_8c-source.html#l00031">token2string</a>, and <a class="el" href="llex_8h-source.html#l00017">TOKEN_LEN</a>.
<p>
Referenced by <a class="el" href="lstate_8c-source.html#l00100">f_luaopen()</a>.
</div>
</div><p>
<a class="anchor" name="0a4d5dfe01f3cece59f14deef2a069d8"></a><!-- doxytag: member="llex.c::luaX_lex" ref="0a4d5dfe01f3cece59f14deef2a069d8" args="(LexState *LS, SemInfo *seminfo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int luaX_lex           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>LS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionSemInfo.html">SemInfo</a> *&nbsp;</td>
          <td class="paramname"> <em>seminfo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00329">329</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8h-source.html#l00061">LexState::buff</a>, <a class="el" href="llex_8h-source.html#l00053">LexState::current</a>, <a class="el" href="lzio_8h-source.html#l00014">EOZ</a>, <a class="el" href="llex_8h-source.html#l00014">FIRST_RESERVED</a>, <a class="el" href="llex_8c-source.html#l00117">inclinenumber()</a>, <a class="el" href="llex_8h-source.html#l00059">LexState::L</a>, <a class="el" href="lobject_8c-source.html#l00155">luaO_pushfstring()</a>, <a class="el" href="lstring_8c-source.html#l00075">luaS_newlstr()</a>, <a class="el" href="llex_8c-source.html#l00072">luaX_error()</a>, <a class="el" href="lzio_8h-source.html#l00047">luaZ_buffer</a>, <a class="el" href="llex_8c-source.html#l00025">next</a>, <a class="el" href="llex_8c-source.html#l00222">read_long_string()</a>, <a class="el" href="llex_8c-source.html#l00183">read_numeral()</a>, <a class="el" href="llex_8c-source.html#l00271">read_string()</a>, <a class="el" href="llex_8c-source.html#l00168">readname()</a>, <a class="el" href="lobject_8h-source.html#l00184">TString::reserved</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac048367a7a9a88e9ea3cef16ab15887a278">TK_CONCAT</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac04500efed658259c56ef30938c20c3b6c4">TK_DOTS</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac049fcd34e2e50a0afb82f0dae65836187b">TK_EOS</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac04e9b97178246db483138ab3d18039bfb2">TK_EQ</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac0439306a802115256cf2099f6c724a95b0">TK_GE</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac04ce38c3f7b08d6ffe00acdd0706ba35de">TK_LE</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac0484e5aed35515b2881005d88dccaf0c30">TK_NAME</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac046897243f49a32e90ca094af33c16374b">TK_NE</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac04292ae07ef8ee2995131bcb4dd5d2e9ed">TK_NUMBER</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac042f748d118b4a20e2b1dc12538ccd9876">TK_STRING</a>, <a class="el" href="llex_8h-source.html#l00042">SemInfo::ts</a>, and <a class="el" href="unionTString.html#255604d92e4b7497e037ea98a89fca5f">TString::tsv</a>.
<p>
Referenced by <a class="el" href="lparser_8c-source.html#l00073">lookahead()</a>, and <a class="el" href="lparser_8c-source.html#l00060">next()</a>.
</div>
</div><p>
<a class="anchor" name="6a5a2777cdeedf348d2252e228ad95dc"></a><!-- doxytag: member="llex.c::luaX_lexerror" ref="6a5a2777cdeedf348d2252e228ad95dc" args="(LexState *ls, const char *s, int token)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void luaX_lexerror           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>ls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>token</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00107">107</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8c-source.html#l00072">luaX_error()</a>, <a class="el" href="llex_8c-source.html#l00097">luaX_token2str()</a>, <a class="el" href="lzio_8h-source.html#l00047">luaZ_buffer</a>, and <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac049fcd34e2e50a0afb82f0dae65836187b">TK_EOS</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00222">read_long_string()</a>, <a class="el" href="llex_8c-source.html#l00183">read_numeral()</a>, and <a class="el" href="llex_8c-source.html#l00271">read_string()</a>.
</div>
</div><p>
<a class="anchor" name="6c97b7972c1a6f9bba6fe3e9330ef616"></a><!-- doxytag: member="llex.c::luaX_setinput" ref="6c97b7972c1a6f9bba6fe3e9330ef616" args="(lua_State *L, LexState *LS, ZIO *z, TString *source)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void luaX_setinput           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structlua__State.html">lua_State</a> *&nbsp;</td>
          <td class="paramname"> <em>L</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>LS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structZio.html">ZIO</a> *&nbsp;</td>
          <td class="paramname"> <em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionTString.html">TString</a> *&nbsp;</td>
          <td class="paramname"> <em>source</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00126">126</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8h-source.html#l00053">LexState::current</a>, <a class="el" href="lzio_8h-source.html#l00014">EOZ</a>, <a class="el" href="llex_8h-source.html#l00058">LexState::fs</a>, <a class="el" href="llex_8h-source.html#l00059">LexState::L</a>, <a class="el" href="llex_8h-source.html#l00055">LexState::lastline</a>, <a class="el" href="llex_8h-source.html#l00054">LexState::linenumber</a>, <a class="el" href="llex_8h-source.html#l00057">LexState::lookahead</a>, <a class="el" href="llex_8c-source.html#l00025">next</a>, <a class="el" href="llex_8h-source.html#l00062">LexState::source</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac049fcd34e2e50a0afb82f0dae65836187b">TK_EOS</a>, <a class="el" href="llex_8h-source.html#l00047">Token::token</a>, and <a class="el" href="llex_8h-source.html#l00060">LexState::z</a>.
<p>
Referenced by <a class="el" href="lparser_8c-source.html#l00427">luaY_parser()</a>.
</div>
</div><p>
<a class="anchor" name="1304c5741ab55cca55adb3ea2b3331d8"></a><!-- doxytag: member="llex.c::luaX_syntaxerror" ref="1304c5741ab55cca55adb3ea2b3331d8" args="(LexState *ls, const char *msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void luaX_syntaxerror           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>ls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00079">79</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8h-source.html#l00061">LexState::buff</a>, <a class="el" href="lobject_8h-source.html#l00191">getstr</a>, <a class="el" href="llex_8c-source.html#l00072">luaX_error()</a>, <a class="el" href="llex_8c-source.html#l00097">luaX_token2str()</a>, <a class="el" href="lzio_8h-source.html#l00047">luaZ_buffer</a>, <a class="el" href="llex_8h-source.html#l00048">Token::seminfo</a>, <a class="el" href="llex_8h-source.html#l00056">LexState::t</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac0484e5aed35515b2881005d88dccaf0c30">TK_NAME</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac04292ae07ef8ee2995131bcb4dd5d2e9ed">TK_NUMBER</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac042f748d118b4a20e2b1dc12538ccd9876">TK_STRING</a>, <a class="el" href="llex_8h-source.html#l00047">Token::token</a>, and <a class="el" href="llex_8h-source.html#l00042">SemInfo::ts</a>.
<p>
Referenced by <a class="el" href="lparser_8c-source.html#l01387">breakstat()</a>, <a class="el" href="lparser_8c-source.html#l00112">check_match()</a>, <a class="el" href="lparser_8c-source.html#l00081">error_expected()</a>, <a class="el" href="lparser_8c-source.html#l01211">forstat()</a>, <a class="el" href="lparser_8c-source.html#l00656">funcargs()</a>, <a class="el" href="lcode_8c-source.html#l00195">luaK_checkstack()</a>, <a class="el" href="lcode_8c-source.html#l00062">luaK_fixjump()</a>, <a class="el" href="llex_8c-source.html#l00055">luaX_checklimit()</a>, <a class="el" href="lparser_8c-source.html#l00603">parlist()</a>, <a class="el" href="lparser_8c-source.html#l00716">prefixexp()</a>, and <a class="el" href="lparser_8c-source.html#l01069">whilestat()</a>.
</div>
</div><p>
<a class="anchor" name="fbf0654ae651496d0e8dcebeefbefed6"></a><!-- doxytag: member="llex.c::luaX_token2str" ref="fbf0654ae651496d0e8dcebeefbefed6" args="(LexState *ls, int token)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* luaX_token2str           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>ls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>token</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00097">97</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8h-source.html#l00014">FIRST_RESERVED</a>, <a class="el" href="llex_8h-source.html#l00059">LexState::L</a>, <a class="el" href="llimits_8h-source.html#l00093">lua_assert</a>, <a class="el" href="lobject_8c-source.html#l00155">luaO_pushfstring()</a>, and <a class="el" href="llex_8c-source.html#l00031">token2string</a>.
<p>
Referenced by <a class="el" href="lparser_8c-source.html#l00112">check_match()</a>, <a class="el" href="lparser_8c-source.html#l00081">error_expected()</a>, <a class="el" href="llex_8c-source.html#l00107">luaX_lexerror()</a>, and <a class="el" href="llex_8c-source.html#l00079">luaX_syntaxerror()</a>.
</div>
</div><p>
<a class="anchor" name="adb281a9d922aacc49eb17134393e714"></a><!-- doxytag: member="llex.c::read_long_string" ref="adb281a9d922aacc49eb17134393e714" args="(LexState *LS, SemInfo *seminfo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void read_long_string           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>LS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionSemInfo.html">SemInfo</a> *&nbsp;</td>
          <td class="paramname"> <em>seminfo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00222">222</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8c-source.html#l00159">checkbuffer</a>, <a class="el" href="llex_8h-source.html#l00053">LexState::current</a>, <a class="el" href="lzio_8h-source.html#l00014">EOZ</a>, <a class="el" href="llex_8c-source.html#l00117">inclinenumber()</a>, <a class="el" href="llex_8c-source.html#l00107">luaX_lexerror()</a>, <a class="el" href="llex_8c-source.html#l00163">save</a>, <a class="el" href="llex_8c-source.html#l00165">save_and_next</a>, and <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac049fcd34e2e50a0afb82f0dae65836187b">TK_EOS</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00329">luaX_lex()</a>.
</div>
</div><p>
<a class="anchor" name="2f2c374ca970aa6a3d7d27b802cec9f9"></a><!-- doxytag: member="llex.c::read_numeral" ref="2f2c374ca970aa6a3d7d27b802cec9f9" args="(LexState *LS, int comma, SemInfo *seminfo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void read_numeral           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>LS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>comma</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionSemInfo.html">SemInfo</a> *&nbsp;</td>
          <td class="paramname"> <em>seminfo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00183">183</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8c-source.html#l00159">checkbuffer</a>, <a class="el" href="lobject_8c-source.html#l00092">luaO_str2d()</a>, <a class="el" href="llex_8c-source.html#l00107">luaX_lexerror()</a>, <a class="el" href="lzio_8h-source.html#l00047">luaZ_buffer</a>, <a class="el" href="llex_8h-source.html#l00040">SemInfo::r</a>, <a class="el" href="llex_8c-source.html#l00163">save</a>, <a class="el" href="llex_8c-source.html#l00165">save_and_next</a>, and <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac04292ae07ef8ee2995131bcb4dd5d2e9ed">TK_NUMBER</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00329">luaX_lex()</a>.
</div>
</div><p>
<a class="anchor" name="3b4c0cdac2bf8e65843193ec1b3316c6"></a><!-- doxytag: member="llex.c::read_string" ref="3b4c0cdac2bf8e65843193ec1b3316c6" args="(LexState *LS, int del, SemInfo *seminfo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void read_string           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>LS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>del</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionSemInfo.html">SemInfo</a> *&nbsp;</td>
          <td class="paramname"> <em>seminfo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00271">271</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8h-source.html#l00061">LexState::buff</a>, <a class="el" href="llex_8c-source.html#l00159">checkbuffer</a>, <a class="el" href="llex_8h-source.html#l00053">LexState::current</a>, <a class="el" href="lzio_8h-source.html#l00014">EOZ</a>, <a class="el" href="llex_8c-source.html#l00117">inclinenumber()</a>, <a class="el" href="llex_8h-source.html#l00059">LexState::L</a>, <a class="el" href="lstring_8c-source.html#l00075">luaS_newlstr()</a>, <a class="el" href="llex_8c-source.html#l00107">luaX_lexerror()</a>, <a class="el" href="lzio_8h-source.html#l00047">luaZ_buffer</a>, <a class="el" href="llex_8c-source.html#l00025">next</a>, <a class="el" href="llex_8c-source.html#l00163">save</a>, <a class="el" href="llex_8c-source.html#l00165">save_and_next</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac049fcd34e2e50a0afb82f0dae65836187b">TK_EOS</a>, <a class="el" href="llex_8h.html#e5bd761f37716726f95e4be16a08ac042f748d118b4a20e2b1dc12538ccd9876">TK_STRING</a>, and <a class="el" href="llex_8h-source.html#l00042">SemInfo::ts</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00329">luaX_lex()</a>.
</div>
</div><p>
<a class="anchor" name="e0d026eb925cc2fd2ec370423b790a24"></a><!-- doxytag: member="llex.c::readname" ref="e0d026eb925cc2fd2ec370423b790a24" args="(LexState *LS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static size_t readname           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structLexState.html">LexState</a> *&nbsp;</td>
          <td class="paramname"> <em>LS</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="llex_8c-source.html#l00168">168</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
References <a class="el" href="llex_8c-source.html#l00159">checkbuffer</a>, <a class="el" href="llex_8h-source.html#l00053">LexState::current</a>, <a class="el" href="llex_8c-source.html#l00163">save</a>, and <a class="el" href="llex_8c-source.html#l00165">save_and_next</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00329">luaX_lex()</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="ade6e667a2ec6d1f822b0a3d5fbc6238"></a><!-- doxytag: member="llex.c::token2string" ref="ade6e667a2ec6d1f822b0a3d5fbc6238" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* const <a class="el" href="llex_8c.html#ade6e667a2ec6d1f822b0a3d5fbc6238">token2string</a>[]<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {
    <span class="stringliteral">"and"</span>, <span class="stringliteral">"break"</span>, <span class="stringliteral">"do"</span>, <span class="stringliteral">"else"</span>, <span class="stringliteral">"elseif"</span>,
    <span class="stringliteral">"end"</span>, <span class="stringliteral">"false"</span>, <span class="stringliteral">"for"</span>, <span class="stringliteral">"function"</span>, <span class="stringliteral">"if"</span>,
    <span class="stringliteral">"in"</span>, <span class="stringliteral">"local"</span>, <span class="stringliteral">"nil"</span>, <span class="stringliteral">"not"</span>, <span class="stringliteral">"or"</span>, <span class="stringliteral">"repeat"</span>,
    <span class="stringliteral">"return"</span>, <span class="stringliteral">"then"</span>, <span class="stringliteral">"true"</span>, <span class="stringliteral">"until"</span>, <span class="stringliteral">"while"</span>, <span class="stringliteral">"*name"</span>,
    <span class="stringliteral">".."</span>, <span class="stringliteral">"..."</span>, <span class="stringliteral">"=="</span>, <span class="stringliteral">"&gt;="</span>, <span class="stringliteral">"&lt;="</span>, <span class="stringliteral">"~="</span>,
    <span class="stringliteral">"*number"</span>, <span class="stringliteral">"*string"</span>, <span class="stringliteral">"&lt;eof&gt;"</span>
}
</pre></div>
<p>
Definition at line <a class="el" href="llex_8c-source.html#l00031">31</a> of file <a class="el" href="llex_8c-source.html">llex.c</a>.
<p>
Referenced by <a class="el" href="llex_8c-source.html#l00041">luaX_init()</a>, and <a class="el" href="llex_8c-source.html#l00097">luaX_token2str()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on 1 Oct 2013 for rpm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>