aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-11 11:08:04 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-10-11 11:08:04 +0300
commitb6e09eeabb9ffa99d4d7017ebe36533b4a729da2 (patch)
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')
-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 @@
1# Default configuration file for cflow. 1# Default configuration file for cflow.
2--symbol __inline:=inline 2--symbol __inline:=inline
3--symbol __inline__:=inline 3--symbol __inline__:=inline
4--symbol __attribute__:wrapper
5--symbol __const__:=const 4--symbol __const__:=const
6--symbol __const:=const 5--symbol __const:=const
7--symbol __restrict:=restrict 6--symbol __restrict:=restrict
8--symbol __extension__:qualifier 7--symbol __extension__:qualifier
8--symbol __attribute__:wrapper
9--symbol __asm__:wrapper 9--symbol __asm__:wrapper
10--symbol __nonnull:wrapper 10--symbol __nonnull:wrapper
11--symbol __nothrow__:wrapper
12--symbol __pure__:wrapper
13--symbol __wur:wrapper 11--symbol __wur:wrapper
14 12
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[] = {
102 "", GROUP_ID+1 }, 102 "", GROUP_ID+1 },
103 { "pushdown", 'p', N_("NUMBER"), 0, 103 { "pushdown", 'p', N_("NUMBER"), 0,
104 N_("Set initial token stack size to NUMBER"), GROUP_ID+1 }, 104 N_("Set initial token stack size to NUMBER"), GROUP_ID+1 },
105 { "symbol", 's', N_("SYMBOL:TYPE"), 0, 105 { "symbol", 's', N_("SYMBOL:[=]TYPE"), 0,
106 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 }, 106 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 },
107 { "main", 'm', N_("NAME"), 0, 107 { "main", 'm', N_("NAME"), 0,
108 N_("Assume main function to be called NAME"), GROUP_ID+1 }, 108 N_("Assume main function to be called NAME"), GROUP_ID+1 },
109 { "define", 'D', N_("NAME[=DEFN]"), 0, 109 { "define", 'D', N_("NAME[=DEFN]"), 0,

Return to:

Send suggestions and report system problems to the System administrator.