title: How to recognize numbers according to this transition diagram?
body: <p>Section 3.4.3 of the dragon book &quot;Compilers: Principles, Techniques, and Tools&quot; (2nd Edition) describes the recognition process of numbers with optional <code>.</code> and <code>E</code> portions, according to the following transition diagram.</p>
  <p>My problem is why are there no outgoing edges labeled &quot;other&quot; from states 14, 16, or 17? What if we encounter &quot;other&quot; symbols in these states? For example, how does it handle the input string <code>1.2345E+a</code>?</p>
  <p><a href="https://i.stack.imgur.com/834xY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/834xY.png" alt="number" /></a></p>