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

Diff of /bison/tests/input.at

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

revision 1.5 by akim, Tue Jun 11 08:08:22 2002 UTC revision 1.6 by akim, Wed Jun 12 12:50:22 2002 UTC
# Line 1  Line 1 
1  # Checking the output filenames.                    -*- Autotest -*-  # Checking the output filenames.                    -*- Autotest -*-
2  # Copyright 2002 Free Software Foundation, Inc.  # Copyright (C) 2002 Free Software Foundation, Inc.
3    
4  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
5  # it under the terms of the GNU General Public License as published by  # it under the terms of the GNU General Public License as published by
# Line 20  AT_BANNER([[Input Processing.]]) Line 20  AT_BANNER([[Input Processing.]])
20    
21  # Mostly test that we are robust to mistakes.  # Mostly test that we are robust to mistakes.
22    
23    
24    ## ----------------------- ##
25    ## Torturing the Scanner.  ##
26    ## ----------------------- ##
27    
28    AT_SETUP([Torturing the Scanner])
29    
30    AT_DATA([input.y],
31    [[%{
32    /* This is seen in GCC: a %{ and %} in middle of a comment. */
33    const char *foo = "So %{ and %} can be here.";
34    %}
35    /* %{ and %} can be here too. */
36    
37    %%
38    exp: 'a';
39    ]])
40    
41    AT_CHECK([bison input.y])
42    
43    AT_CLEANUP
44    
45    
46    
47    
48  ## ------------ ##  ## ------------ ##
49  ## Invalid $n.  ##  ## Invalid $n.  ##
50  ## ------------ ##  ## ------------ ##

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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