aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 3833d85..ec3052f 100644
--- a/main.c
+++ b/main.c
@@ -136,6 +136,8 @@ optparse(char **args)
else goto Bad;
} else if (!strcmp(arg, "pedantic")) {
ccopt.pedant = 1;
+ } else if (!strcmp(arg, "trigraphs")) {
+ ccopt.trigraph = 1;
} else if (*arg == 'd' && arg[1]) {
/* see common.h§struct option */
while (*++arg) switch (*arg | 32) {