Home
last modified time | relevance | path

Searched hist:"2 e106e4df28aa264f9ded7e5be3733224f2e4f93" (Results 1 – 1 of 1) sorted by relevance

/linux/scripts/
H A Dkernel-docdiff 2e106e4df28aa264f9ded7e5be3733224f2e4f93 Wed Jul 08 21:06:33 CEST 2015 Jérémy Bobbio <lunar@debian.org> scripts/kernel-doc: parse kernel-doc deterministically

Regular expressions for highlights in kernel-doc are stored in a Perl
hash. These hashes are ordered differently for each Perl run. This will
prevent kernel-doc to behave deterministically when parsing “@foo()” as
in some runs it will be interpreted as a parameter and in the others it
will be interpreted as a function.

We now sort the %highlights hash to get the same behavior on every run.

Signed-off-by: Jérémy Bobbio <lunar@debian.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>