summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-11 08:08:04 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-10-11 08:08:04 (GMT)
commitb6e09eeabb9ffa99d4d7017ebe36533b4a729da2 (patch) (side-by-side diff)
tree04c93d975f0d9c48f26636dabecc92ea87c585fe /src
parent3068e3ce36358bd1c3bef16c55f6573cc7745f9f (diff)
downloadcflow-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') (more/less context) (ignore whitespace changes)
-rw-r--r--src/cflow.rc4
-rw-r--r--src/main.c4
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
diff --git a/src/main.c b/src/main.c
index de41689..e81c537 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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,

Return to:

Send suggestions and report system problems to the System administrator.