FS#47526 - [flex] BCPL-style single-line comment breaks ansi compilation

Attached to Project: Arch Linux
Opened by Graziano Giuliani (Graziano) - Friday, 25 December 2015, 12:21 GMT
Last edited by Allan McRae (Allan) - Saturday, 20 February 2016, 02:08 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The arch package 2.6.0 has this bug which is fixed upstream:

http://sourceforge.net/p/flex/bugs/195

Can be fixed for now with (needs help2man):

for file in src/flex.skl src/skel.c src/scan.c
do
sed -i $file \
-e 's!// After all .* \.\.\.!/\* After all that talk, this was set to 1 anyways\.\.\.\*/!'
done

Steps to reproduce:

Try to compile a flex parsed C source with -ansi flag for compiler.
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 20 February 2016, 02:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  flex-2.6.0-2

Loading...