mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Improve option --pic. New options --string-pool-name, --null-strings.
This commit is contained in:
15
src/input.cc
15
src/input.cc
@@ -1,5 +1,5 @@
|
||||
/* Input routines.
|
||||
Copyright (C) 1989-1998, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1989-1998, 2002-2003 Free Software Foundation, Inc.
|
||||
Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
|
||||
and Bruno Haible <bruno@clisp.org>.
|
||||
|
||||
@@ -529,6 +529,19 @@ Input::read_input ()
|
||||
option.set (GLOBAL);
|
||||
else
|
||||
|
||||
if (is_declaration (line, line_end, lineno, "pic"))
|
||||
option.set (SHAREDLIB);
|
||||
else
|
||||
|
||||
if (is_define_declaration (line, line_end, lineno,
|
||||
"string-pool-name", &arg))
|
||||
option.set_stringpool_name (arg);
|
||||
else
|
||||
|
||||
if (is_declaration (line, line_end, lineno, "null-strings"))
|
||||
option.set (NULLSTRINGS);
|
||||
else
|
||||
|
||||
if (is_define_declaration (line, line_end, lineno,
|
||||
"word-array-name", &arg))
|
||||
option.set_wordlist_name (arg);
|
||||
|
||||
Reference in New Issue
Block a user