/[bison]/bison/tests/regression.at
ViewVC logotype

Diff of /bison/tests/regression.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by akim, Thu Oct 4 14:55:21 2001 UTC revision 1.3 by akim, Thu Nov 1 18:05:22 2001 UTC
# Line 109  input.y:3: fatal error: no rules in the Line 109  input.y:3: fatal error: no rules in the
109  AT_CLEANUP  AT_CLEANUP
110    
111    
112    ## ----------------- ##
113    ## Invalid input 1.  ##
114    ## ----------------- ##
115    
116    
117    AT_SETUP([Invalid input: 1])
118    
119    AT_DATA([input.y],
120    [[%%
121    ?
122    ]])
123    
124    AT_CHECK([bison input.y], [1], [],
125    [input.y:2: invalid input: `?'
126    input.y:3: fatal error: no rules in the input grammar
127    ])
128    
129    AT_CLEANUP
130    
131    
132    ## ----------------- ##
133    ## Invalid input 2.  ##
134    ## ----------------- ##
135    
136    
137    AT_SETUP([Invalid input: 2])
138    
139    AT_DATA([input.y],
140    [[%%
141    default: 'a' }
142    ]])
143    
144    AT_CHECK([bison input.y], [1], [],
145    [input.y:2: invalid input: `}'
146    ])
147    
148    AT_CLEANUP
149    
150    
151  ## --------------------- ##  ## --------------------- ##
152  ## Invalid CPP headers.  ##  ## Invalid CPP headers.  ##
153  ## --------------------- ##  ## --------------------- ##

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26