diff options
author | Bruno Haible <bruno@clisp.org> | 2003-04-16 10:07:23 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-04-16 10:07:23 +0000 |
commit | b49d12d9843f3f2be0eb38327cb15af761d668d8 (patch) | |
tree | 2e62b1f04edb9ec0a57671a5c03f047453f401fe /src/input.cc | |
parent | fa9b5b99bff5a086623ac15e4001cddb4d1fba9b (diff) | |
download | gperf-b49d12d9843f3f2be0eb38327cb15af761d668d8.tar.gz |
Improve option --pic. New options --string-pool-name, --null-strings.
Diffstat (limited to 'src/input.cc')
-rw-r--r-- | src/input.cc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/input.cc b/src/input.cc index 933911e..4a968ae 100644 --- a/src/input.cc +++ b/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); |