summaryrefslogtreecommitdiffhomepage
path: root/cparser.1
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-03 16:55:44 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-03 16:56:46 +0200
commit0fbf95f9e730333725cbf1b8b2ea96bdcd4d6be3 (patch)
tree8c10046107d6a88228b51dea2693c0753bd1e43d /cparser.1
parentb7001b7f36cae3c7637bb49295dff38839865b88 (diff)
Properly support -ansi.
Diffstat (limited to 'cparser.1')
-rw-r--r--cparser.13
1 files changed, 3 insertions, 0 deletions
diff --git a/cparser.1 b/cparser.1
index 22ecf21..fa997af 100644
--- a/cparser.1
+++ b/cparser.1
@@ -9,6 +9,7 @@
.Op Fl c | S | E | -print-ast
.Op Fl -print-implicit-cast
.Op Fl -print-parenthesis
+.Op Fl ansi
.Op Fl std= Ns Ar standard
.Op Fl - Ns Oo Cm no- Oc Ns Cm gcc
.Op Fl - Ns Oo Cm no- Oc Ns Cm ms
@@ -56,6 +57,8 @@ show casts, which are inserted by the semantic checks.
When using
.Fl -print-ast ,
show all expressions fully parenthesized.
+.It Fl ansi
+Same as -std=c90 (for C) or -std=c++98 (for C++).
.It Fl std= Ns Ar standard
Select the language standard.
Supported values are: