summaryrefslogtreecommitdiff
path: root/src/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.c')
-rw-r--r--src/args.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/args.c b/src/args.c
index d3735178fc48..1626ad4944e4 100644
--- a/src/args.c
+++ b/src/args.c
@@ -1,9 +1,9 @@
/*
* *****************************************************************************
*
- * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+ * SPDX-License-Identifier: BSD-2-Clause
*
- * All rights reserved.
+ * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -184,7 +184,7 @@ void bc_args(int argc, char *argv[]) {
#if DC_ENABLED
case 'x':
{
- assert(!BC_IS_BC);
+ assert(BC_IS_DC);
vm.flags |= DC_FLAG_X;
break;
}
@@ -205,7 +205,7 @@ void bc_args(int argc, char *argv[]) {
if (version) bc_vm_info(NULL);
if (do_exit) exit((int) vm.status);
- if (vm.exprs.len > 1 || !BC_IS_BC) vm.flags |= BC_FLAG_Q;
+ if (vm.exprs.len > 1 || BC_IS_DC) vm.flags |= BC_FLAG_Q;
if (opts.optind < (size_t) argc)
bc_vec_init(&vm.files, sizeof(char*), NULL);