History log of /scripts/kconfig/zconf.l
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1d3fe4a75b691285cded47c9f1a91b30d25287b0 30-Jul-2011 Linus Torvalds <torvalds@linux-foundation.org> Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6

* 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (25 commits)
kconfig: Introduce IS_ENABLED(), IS_BUILTIN() and IS_MODULE()
xconfig: Abort close if configuration cannot be saved
kconfig: fix missing "0x" prefix from S_HEX symbol in autoconf.h
kconfig/nconf: remove useless conditionnal
kconfig/nconf: prevent segfault on empty menu
kconfig/nconf: use the generic menu_get_ext_help()
nconfig: Avoid Wunused-but-set warning
kconfig/conf: mark xfgets() private
kconfig: remove pending prototypes for kconfig_load()
kconfig/conf: add command line options' description
kconfig/conf: reduce the scope of `defconfig_file'
kconfig: use calloc() for expr allocation
kconfig: introduce specialized printer
kconfig: do not overwrite symbol direct dependency in assignment
kconfig/gconf: silent missing prototype warnings
kconfig/gconf: kill deadcode
kconfig: nuke LKC_DIRECT_LINK cruft
kconfig: nuke reference to SWIG
kconfig: add missing <stdlib.h> inclusion
kconfig: add missing <ctype.h> inclusion
...

Fix up conflicts in scripts/kconfig/Makefile
674eed8a6ac9d10b4ee08f497dbe20d75bfa863d 07-Jun-2011 Arnaud Lacombe <lacombar@gmail.com> kconfig/zconf.l: do not ask to generate backup

This avoids the creation of a top-level `lex.backup' when the lexer gets
re-generated.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
/scripts/kconfig/zconf.l
61f956f576031bea270ea54b10411ebb1e172b1b 05-May-2011 Arnaud Lacombe <lacombar@gmail.com> kconfig: constify `kconf_id_lookup'

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
/scripts/kconfig/zconf.l
5a6f8d2bd9e3392569ed6f29ea4d7210652f929b 01-Jun-2011 Arnaud Lacombe <lacombar@gmail.com> kconfig: nuke LKC_DIRECT_LINK cruft

This interface is not (and has never been ?) used by any frontend, just get rid
of it.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
/scripts/kconfig/zconf.l
2b2112f617e8ca600ec24271c93bbd49aa2acce4 24-Feb-2011 Yann E. MORIN <yann.morin.1998@anciens.enib.fr> kconfig: get rid of unused flags

Now that we detect recusrion of sourced files, get rid of
now unused flags.

Regenerate lex.zconf.c_shipped file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/zconf.l
f094f8a1b2737a4f3ca46742ff9aaf460d39285e 24-Feb-2011 Yann E. MORIN <yann.morin.1998@anciens.enib.fr> kconfig: allow multiple inclusion of the same file

Allow 'source'ing the same file from multiple places (eg. from
different files, and/or under different conditions).

To avoid circular inclusion, scan the source-ancestry of the
current file, and abort if already sourced in this branch.

Regenerate the pre-parsed lex.zconf.c_shipped file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/zconf.l
e82dae9083c8ca97c0f6ba1f5d09591aff67bb4e 04-Sep-2010 Arnaud Lacombe <lacombar@gmail.com> kconfig: use the file's name of sourced file

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/zconf.l
2e7a091833f014cac8a6b92573ca6cd2edd2753c 04-Sep-2010 Arnaud Lacombe <lacombar@gmail.com> kconfig: constify file name

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/zconf.l
65166571800af0f63f21e5576d7db12d2bf73790 15-Oct-2009 Josh Triplett <josh@joshtriplett.org> kconfig: Mark various internal functions static

kconfig's keyword hash, lexer, and parser define various functions used
only locally. Declare these functions as static, and regenerate the
corresponding generated files.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
/scripts/kconfig/zconf.l
7826005e5a53645d7aab7c13eda76126eadebf0b 27-Dec-2008 Sam Ravnborg <sam@ravnborg.org> kconfig: improve error messages for bad source statements

We now say where we detect the second source of a file,
and where we detect a recursively source of the same file.
This makes it easier to fix such errors.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
/scripts/kconfig/zconf.l
be2be1d59035a28debb22555f103e676a8f74186 17-Jul-2008 Adrian Bunk <bunk@kernel.org> kconfig: scripts/kconfig/zconf.l: add %option noinput

gcc 4.3 correctly determines that input() is unused and gives the
following warning:

<-- snip -->

...
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/lex.zconf.c:1628: warning: ‘input’ defined but not used
...

<-- snip -->

Fix it by adding %option noinput to scripts/kconfig/zconf.l and
regeneration of scripts/kconfig/lex.zconf.c_shipped.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
/scripts/kconfig/zconf.l
f7a4b4cdc26846a0ac5b3023cb1b97dc632dfd35 11-Jan-2008 EGRY Gabor <gaboregry1@t-online.hu> kconfig: whitespace removing

This patch removes the unnecessary whitespaces from
end of help lines of Kconfig files.

Signed-off-by: Egry Gabor <gaboregry1@t-online.hu>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
/scripts/kconfig/zconf.l
11de39e2fbbc592018e0a231d0ee773653dcc8d6 05-May-2007 Marcin Garski <mgarski@post.pl> kconfig: fix mconf segmentation fault

I have found small bug in mconf, when you run it without any argument it
will sigsegv.

Without patch:
$ scripts/kconfig/mconf
Segmentation fault

With patch:
$ scripts/kconfig/mconf
can't find file (null)

Signed-off-by: Marcin Garski <mgarski@post.pl>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
/scripts/kconfig/zconf.l
a02f0570ae201c495ee991b959bb974af18f35cc 09-Nov-2005 Roman Zippel <zippel@linux-m68k.org> [PATCH] kconfig: improve error handling in the parser

Add a few error tokens to the parser to catch common errors and print more
descriptive error messages.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
/scripts/kconfig/zconf.l
3370f9f0d9c7d14bf71aab27fa45c0537f130614 09-Nov-2005 Roman Zippel <zippel@linux-m68k.org> [PATCH] kconfig: simplify symbol type parsing

This simplifies the parser a bit by merging the various symbol types into a
single token and adds the type to the keyword hash.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
/scripts/kconfig/zconf.l
7a88488bbc231e48a4a88ee2569bc0cc5d706f0a 09-Nov-2005 Roman Zippel <zippel@linux-m68k.org> [PATCH] kconfig: use gperf for kconfig keywords

Use gperf to generate a hash for the kconfig keywords. This greatly reduces
the size of the generated scanner and makes it easier to extend kconfig.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
/scripts/kconfig/zconf.l
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 17-Apr-2005 Linus Torvalds <torvalds@ppc970.osdl.org> Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
/scripts/kconfig/zconf.l