]> Savannah Git Hosting - gnulib.git/commit
dfa: Tweak the last patch.
authorBruno Haible <bruno@clisp.org>
Tue, 28 Feb 2023 04:59:25 +0000 (05:59 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 28 Feb 2023 05:00:02 +0000 (06:00 +0100)
commit5513c3fcbbe26ca5f7c4e7789df25e31bbacbbee
treed86b8d9a1777a1b333b036dd2fbd9d9973ec0921
parentf17d397771164c1b0f77fea8fb0abdc99cf4a3e1
dfa: Tweak the last patch.

Suggested by Alexei Podtelezhnikov <apodtele@gmail.com>.

* lib/dfa.c (FALLTHROUGH): Assume that Apple clang, in C mode, supports
__attribute__ ((__fallthrough__)) starting with version 1200.
References:
https://en.wikipedia.org/wiki/Xcode#Xcode_11.0_-_14.x_(since_SwiftUI_framework)_2
https://github.com/apple/llvm-project/blob/swift-5.3-RELEASE/clang/test/Sema/fallthrough-attr.c
ChangeLog
lib/dfa.c