title: Shift/reduce conflicts in bison
body: <p>I'm new to <code>Bison</code> and I'm having trouble with shift/reduce conflicts... I'm trying to load from file to <code>array data[]</code>:</p>
  
  <pre><code>struct  _data
  {
    char name[50]; 
    char surname[50]; 
    int year;
  } data[1000];
  </code></pre>
  
  <p>Here is part of my bison code:</p>
  
  <pre><code>%token ID NUM NL EOF 
  
  %%
  
  File   : List EOF
         ;
  List   : Record
         | List Record
         ;
  Record : Name Surname Year NL  { count++; }
         | NL                    { count++; }
         | /*empty*/
         ;
  Name   : ID                    { strcpy(data[count].name, yytext); }
         ;
  Surname: ID                    { strcpy(data[count].surname, yytext); }
         ;
  Year   : NUM                   { data[count].year= atoi(yytext); }
         ;
  
  %%            
  </code></pre>
  
  <p>I get this error: </p>
  
  <pre><code>conflicts: 5 shift/reduce
  </code></pre>
  
  <p>Any idea where I went wrong?</p>