[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison 3.5.93 on AIX 7.1
From: |
Bruno Haible |
Subject: |
Re: Bison 3.5.93 on AIX 7.1 |
Date: |
Mon, 04 May 2020 10:21:30 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
Hi Akim,
> The problem appears to be that "diff -u" is not formatted as expected,
> as shows this diff of "diff -u":
>
> 2,9c2,9
> < 156 | . '$' non_post_simp_exp
> <
> < NAME shift, and go to state 9
> < - '$' shift, and go to state 24
> < + '$' shift, and go to state 320
> <
> < NAME [reduce using rule 152 (opt_variable)]
> < '$' [reduce using rule 152 (opt_variable)]
> ---
> > 156 | . '$' non_post_simp_exp
> >
> > NAME shift, and go to state 9
> > - '$' shift, and go to state 24
> > + '$' shift, and go to state 320
> >
> > NAME [reduce using rule 152 (opt_variable)]
> > '$' [reduce using rule 152 (opt_variable)]
>
> This should address this problem.
Indeed, 'diff -u' on this platform inserts an extra space between the first and
the second column. Which is not compliant to POSIX
<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/diff.html>.
Bruno