title: ANTLR error(99) grammar has no rules
body: <p>I previously posted about my first attempt at using ANTLR when I was having issues with left recursion.</p>
  
  <p>Now that I have resolved those issues, I am getting the following error when I try to use org.antlr.v4.Tool to generate the code:</p>
  
  <pre><code>error(99): C:test.g4::: grammar 'test' has no rules
  </code></pre>
  
  <p>What are the possible reasons for this error?  Using ANTLRWorks I can certainly see rules in the Parse Tree so why can't it see them?  Is it because it cannot find a suitable START rule?</p>