title: Premature end of file lex
body: <p>When I tried to compile it using make keyword it is giving me an error of:</p>
  
  <blockquote>
    <p>premature end of file in lex.l file in line no 17. </p>
  </blockquote>
  
  <pre><code> %option noyywrap
   %{
      #include "grammer.tab.h"
   %}
   name        ([0-9])
   whitespace  [ \r\t\v\f]
   linefeed    \n
   %%
   {name}         { return NAME; }
   ":"            { return COLON; }
   "-&gt;"           { return RIGHT_ARROW; }
   "{"            { return LEFT_BRACE;}
   "}"            { return RIGHT_BRACE;}
   ";"            { return SEMICOLON;}
   {whitespace}
   {linefeed}     ++yylineno;
   %%
  </code></pre>
  
  <p>So someone kindly help me.</p>
  
  <p><img src="https://i.stack.imgur.com/z9TQE.png" alt="enter image description here"></p>
  
  <p>Error:-</p>
  
  <p><img src="https://i.stack.imgur.com/tkHjY.png" alt="This is the error that the is shown"></p>
  
  <p>Tail:-
  <a href="https://i.stack.imgur.com/aVa92.png" rel="nofollow noreferrer">enter image description here</a></p>