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 >
Wrap
Text File
|
1991-05-30
|
2KB
|
93 lines
*** /Net/ohio/redbird/mself/fsf/c-parse.y Tue May 28 14:24:01 1991
--- ./c-parse.y Thu May 30 14:32:40 1991
***************
*** 1895,1906 ****
c = check_newline ();
break;
case ' ':
case '\t':
case '\f':
- #if 0 /* ANSI says no. */
- case '\r':
- #endif
case '\v':
case '\b':
c = getc (finput);
--- 1827,1838 ----
c = check_newline ();
break;
+ case '\r':
+ if (pedantic) /* ANSI says no */
+ return (c);
case ' ':
case '\t':
case '\f':
case '\v':
case '\b':
c = getc (finput);
***************
*** 2331,2337 ****
switch (c)
{
case '\r':
! if (!flag_traditional) /* ANSI says no */
goto found_nonwhite;
case ' ':
case '\t':
--- 2263,2269 ----
switch (c)
{
case '\r':
! if (pedantic) /* ANSI says no */
goto found_nonwhite;
case ' ':
case '\t':
*** /Net/ohio/redbird/mself/fsf/objc-parse.y Tue May 28 14:33:36 1991
--- ./objc-parse.y Thu May 30 14:33:51 1991
***************
*** 2561,2572 ****
c = check_newline ();
break;
case ' ':
case '\t':
case '\f':
- #if 0 /* ANSI says no. */
- case '\r':
- #endif
case '\v':
case '\b':
c = getc (finput);
--- 2496,2507 ----
c = check_newline ();
break;
+ case '\r':
+ if (pedantic) /* ANSI says no */
+ return (c);
case ' ':
case '\t':
case '\f':
case '\v':
case '\b':
c = getc (finput);
***************
*** 2997,3003 ****
switch (c)
{
case '\r':
! if (!flag_traditional) /* ANSI says no */
goto found_nonwhite;
case ' ':
case '\t':
--- 2932,2938 ----
switch (c)
{
case '\r':
! if (pedantic) /* ANSI says no */
goto found_nonwhite;
case ' ':
case '\t':