diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-11 11:08:04 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-11 11:08:04 +0300 |
commit | b6e09eeabb9ffa99d4d7017ebe36533b4a729da2 (patch) | |
tree | 04c93d975f0d9c48f26636dabecc92ea87c585fe /src | |
parent | 3068e3ce36358bd1c3bef16c55f6573cc7745f9f (diff) | |
download | cflow-b6e09eeabb9ffa99d4d7017ebe36533b4a729da2.tar.gz cflow-b6e09eeabb9ffa99d4d7017ebe36533b4a729da2.tar.bz2 |
Improve the docs.
* doc/cflow.texi: Document symbol classes and aliases.
* src/cflow.rc: Minor change.
* src/main.c: Mention aliasing feature in the docstring for --symbol.
Diffstat (limited to 'src')
-rw-r--r-- | src/cflow.rc | 4 | ||||
-rw-r--r-- | src/main.c | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/cflow.rc b/src/cflow.rc index e4be309..768fae9 100644 --- a/src/cflow.rc +++ b/src/cflow.rc @@ -1,14 +1,12 @@ # Default configuration file for cflow. --symbol __inline:=inline --symbol __inline__:=inline ---symbol __attribute__:wrapper --symbol __const__:=const --symbol __const:=const --symbol __restrict:=restrict --symbol __extension__:qualifier +--symbol __attribute__:wrapper --symbol __asm__:wrapper --symbol __nonnull:wrapper ---symbol __nothrow__:wrapper ---symbol __pure__:wrapper --symbol __wur:wrapper @@ -102,8 +102,8 @@ static struct argp_option options[] = { "", GROUP_ID+1 }, { "pushdown", 'p', N_("NUMBER"), 0, N_("Set initial token stack size to NUMBER"), GROUP_ID+1 }, - { "symbol", 's', N_("SYMBOL:TYPE"), 0, - N_("Register SYMBOL with given TYPE. Valid types are: keyword (or kw), modifier, identifier, type, wrapper. Any unambiguous abbreviation of the above is also accepted"), GROUP_ID+1 }, + { "symbol", 's', N_("SYMBOL:[=]TYPE"), 0, + N_("Register SYMBOL with given TYPE, or define an alias (if := is used). Valid types are: keyword (or kw), modifier, qualifier, identifier, type, wrapper. Any unambiguous abbreviation of the above is also accepted"), GROUP_ID+1 }, { "main", 'm', N_("NAME"), 0, N_("Assume main function to be called NAME"), GROUP_ID+1 }, { "define", 'D', N_("NAME[=DEFN]"), 0, |