home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / cc-61.0.1 / cc / cr-diffs < prev    next >
Text File  |  1991-05-30  |  2KB  |  93 lines

  1. *** /Net/ohio/redbird/mself/fsf/c-parse.y    Tue May 28 14:24:01 1991
  2. --- ./c-parse.y    Thu May 30 14:32:40 1991
  3. ***************
  4. *** 1895,1906 ****
  5.         c = check_newline ();
  6.         break;
  7.   
  8.       case ' ':
  9.       case '\t':
  10.       case '\f':
  11. - #if 0  /* ANSI says no.  */
  12. -     case '\r':
  13. - #endif
  14.       case '\v':
  15.       case '\b':
  16.         c = getc (finput);
  17. --- 1827,1838 ----
  18.         c = check_newline ();
  19.         break;
  20.   
  21. +     case '\r':
  22. +       if (pedantic)    /* ANSI says no */
  23. +         return (c);
  24.       case ' ':
  25.       case '\t':
  26.       case '\f':
  27.       case '\v':
  28.       case '\b':
  29.         c = getc (finput);
  30. ***************
  31. *** 2331,2337 ****
  32.       switch (c)
  33.         {
  34.         case '\r':
  35. !     if (!flag_traditional)    /* ANSI says no */
  36.         goto found_nonwhite;
  37.         case ' ':
  38.         case '\t':
  39. --- 2263,2269 ----
  40.       switch (c)
  41.         {
  42.         case '\r':
  43. !     if (pedantic)    /* ANSI says no */
  44.         goto found_nonwhite;
  45.         case ' ':
  46.         case '\t':
  47. *** /Net/ohio/redbird/mself/fsf/objc-parse.y    Tue May 28 14:33:36 1991
  48. --- ./objc-parse.y    Thu May 30 14:33:51 1991
  49. ***************
  50. *** 2561,2572 ****
  51.         c = check_newline ();
  52.         break;
  53.   
  54.       case ' ':
  55.       case '\t':
  56.       case '\f':
  57. - #if 0  /* ANSI says no.  */
  58. -     case '\r':
  59. - #endif
  60.       case '\v':
  61.       case '\b':
  62.         c = getc (finput);
  63. --- 2496,2507 ----
  64.         c = check_newline ();
  65.         break;
  66.   
  67. +     case '\r':
  68. +       if (pedantic)    /* ANSI says no */
  69. +         return (c);
  70.       case ' ':
  71.       case '\t':
  72.       case '\f':
  73.       case '\v':
  74.       case '\b':
  75.         c = getc (finput);
  76. ***************
  77. *** 2997,3003 ****
  78.       switch (c)
  79.         {
  80.         case '\r':
  81. !     if (!flag_traditional)  /* ANSI says no */
  82.         goto found_nonwhite;
  83.         case ' ':
  84.         case '\t':
  85. --- 2932,2938 ----
  86.       switch (c)
  87.         {
  88.         case '\r':
  89. !     if (pedantic)    /* ANSI says no */
  90.         goto found_nonwhite;
  91.         case ' ':
  92.         case '\t':
  93.