[grammar (info)] Line 70: 
Production Rules:
   (precedences (shown between parentheses) were set by %prec;
    are equal to the precedence of the rules' 1st terminal tokens;
    or (if not shown) are equal to the default (max) precedence)
1: input ->  <empty>
2: input ->  input line
3: line ('\x0a') ->  '\x0a'
4: line ('\x0a') ->  exp '\x0a'
5: line (errTok_) ->  errTok_ '\x0a'
6: exp (NUM) ->  NUM
7: exp ('+') ->  exp '+' exp
8: exp ('-') ->  exp '-' exp
9: exp ('*') ->  exp '*' exp
10: exp ('/') ->  exp '/' exp
11: exp (NEG) ->  '-' exp
12: exp ('^') ->  exp '^' exp
13: exp ('(') ->  '(' exp ')'
14: input_$ ->  input


Symbolic Terminal tokens:
       error
       EOF
   257: NUM
    45: '-'
    43: '+'
    42: '*'
    47: '/'
   258: NEG
    94: '^'
    10: '\x0a'
    40: '('
    41: ')'


Grammar States: 

State 0:
14: input_$ ->  . input 
  0:   On input to state 1
  Reduce by 1: input ->  . 


State 1:
14: input_$ -> input  . 
2: input -> input  . line 
  0:   On line to state 2
  1:   On '\x0a' to state 3
  2:   On exp to state 4
  3:   On errTok_ to state 5
  4:   On NUM to state 6
  5:   On '-' to state 7
  6:   On '(' to state 8


State 2:
2: input -> input line  . 
  Reduce by 2: input -> input line  . 


State 3:
3: line -> '\x0a'  . 
  Reduce by 3: line -> '\x0a'  . 


State 4:
4: line -> exp  . '\x0a' 
7: exp -> exp  . '+' exp 
8: exp -> exp  . '-' exp 
9: exp -> exp  . '*' exp 
10: exp -> exp  . '/' exp 
12: exp -> exp  . '^' exp 
  0:   On '\x0a' to state 9
  1:   On '+' to state 10
  2:   On '-' to state 11
  3:   On '*' to state 12
  4:   On '/' to state 13
  5:   On '^' to state 14


State 5:
5: line -> errTok_  . '\x0a' 
  0:   On '\x0a' to state 15


State 6:
6: exp -> NUM  . 
  Reduce by 6: exp -> NUM  . 


State 7:
11: exp -> '-'  . exp 
  0:   On exp to state 16
  1:   On NUM to state 6
  2:   On '-' to state 7
  3:   On '(' to state 8


State 8:
13: exp -> '('  . exp ')' 
  0:   On exp to state 17
  1:   On NUM to state 6
  2:   On '-' to state 7
  3:   On '(' to state 8


State 9:
4: line -> exp '\x0a'  . 
  Reduce by 4: line -> exp '\x0a'  . 


State 10:
7: exp -> exp '+'  . exp 
  0:   On exp to state 18
  1:   On NUM to state 6
  2:   On '-' to state 7
  3:   On '(' to state 8


State 11:
8: exp -> exp '-'  . exp 
  0:   On exp to state 19
  1:   On NUM to state 6
  2:   On '-' to state 7
  3:   On '(' to state 8


State 12:
9: exp -> exp '*'  . exp 
  0:   On exp to state 20
  1:   On NUM to state 6
  2:   On '-' to state 7
  3:   On '(' to state 8


State 13:
10: exp -> exp '/'  . exp 
  0:   On exp to state 21
  1:   On NUM to state 6
  2:   On '-' to state 7
  3:   On '(' to state 8


State 14:
12: exp -> exp '^'  . exp 
  0:   On exp to state 22
  1:   On NUM to state 6
  2:   On '-' to state 7
  3:   On '(' to state 8


State 15:
5: line -> errTok_ '\x0a'  . 
  Reduce by 5: line -> errTok_ '\x0a'  . 


State 16:
11: exp -> '-' exp  . 
7: exp -> exp  . '+' exp 
8: exp -> exp  . '-' exp 
9: exp -> exp  . '*' exp 
10: exp -> exp  . '/' exp 
12: exp -> exp  . '^' exp 
  0 (removed by precedence):   On '+' to state 10
  1 (removed by precedence):   On '-' to state 11
  2 (removed by precedence):   On '*' to state 12
  3 (removed by precedence):   On '/' to state 13
  4:   On '^' to state 14
  Reduce by 11: exp -> '-' exp  . 


State 17:
13: exp -> '(' exp  . ')' 
7: exp -> exp  . '+' exp 
8: exp -> exp  . '-' exp 
9: exp -> exp  . '*' exp 
10: exp -> exp  . '/' exp 
12: exp -> exp  . '^' exp 
  0:   On ')' to state 23
  1:   On '+' to state 10
  2:   On '-' to state 11
  3:   On '*' to state 12
  4:   On '/' to state 13
  5:   On '^' to state 14


State 18:
7: exp -> exp '+' exp  . 
7: exp -> exp  . '+' exp 
8: exp -> exp  . '-' exp 
9: exp -> exp  . '*' exp 
10: exp -> exp  . '/' exp 
12: exp -> exp  . '^' exp 
  0 (removed by precedence):   On '+' to state 10
  1 (removed by precedence):   On '-' to state 11
  2:   On '*' to state 12
  3:   On '/' to state 13
  4:   On '^' to state 14
  Reduce by 7: exp -> exp '+' exp  . 


State 19:
8: exp -> exp '-' exp  . 
7: exp -> exp  . '+' exp 
8: exp -> exp  . '-' exp 
9: exp -> exp  . '*' exp 
10: exp -> exp  . '/' exp 
12: exp -> exp  . '^' exp 
  0 (removed by precedence):   On '+' to state 10
  1 (removed by precedence):   On '-' to state 11
  2:   On '*' to state 12
  3:   On '/' to state 13
  4:   On '^' to state 14
  Reduce by 8: exp -> exp '-' exp  . 


State 20:
9: exp -> exp '*' exp  . 
7: exp -> exp  . '+' exp 
8: exp -> exp  . '-' exp 
9: exp -> exp  . '*' exp 
10: exp -> exp  . '/' exp 
12: exp -> exp  . '^' exp 
  0 (removed by precedence):   On '+' to state 10
  1 (removed by precedence):   On '-' to state 11
  2 (removed by precedence):   On '*' to state 12
  3 (removed by precedence):   On '/' to state 13
  4:   On '^' to state 14
  Reduce by 9: exp -> exp '*' exp  . 


State 21:
10: exp -> exp '/' exp  . 
7: exp -> exp  . '+' exp 
8: exp -> exp  . '-' exp 
9: exp -> exp  . '*' exp 
10: exp -> exp  . '/' exp 
12: exp -> exp  . '^' exp 
  0 (removed by precedence):   On '+' to state 10
  1 (removed by precedence):   On '-' to state 11
  2 (removed by precedence):   On '*' to state 12
  3 (removed by precedence):   On '/' to state 13
  4:   On '^' to state 14
  Reduce by 10: exp -> exp '/' exp  . 


State 22:
12: exp -> exp '^' exp  . 
7: exp -> exp  . '+' exp 
8: exp -> exp  . '-' exp 
9: exp -> exp  . '*' exp 
10: exp -> exp  . '/' exp 
12: exp -> exp  . '^' exp 
  0 (removed by precedence):   On '+' to state 10
  1 (removed by precedence):   On '-' to state 11
  2 (removed by precedence):   On '*' to state 12
  3 (removed by precedence):   On '/' to state 13
  4:   On '^' to state 14
  Reduce by 12: exp -> exp '^' exp  . 


State 23:
13: exp -> '(' exp ')'  . 
  Reduce by 13: exp -> '(' exp ')'  . 



