summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2001-09-19 19:37:43 +0000
committerWill Estes <wlestes@users.sourceforge.net>2001-09-19 19:37:43 +0000
commit9a4081f734e67bdcf44d378eea6f8f90b4978ecf (patch)
treeadfec1ad58b7b17cc6870d9f4fcaf6352f61978a /main.c
parent75a2fd64ccaca871257fd678ee0be9b39b6abd1d (diff)
commit the backwash from the branch merges
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 39dc161..04cf2cc 100644
--- a/main.c
+++ b/main.c
@@ -654,6 +654,7 @@ char **argv;
defs1_offset = prolog_offset = action_offset = action_index = 0;
action_array[0] = '\0';
+ /* Enable C++ if program name ends with '+'. */
program_name = argv[0];
if ( program_name[0] != '\0' &&
@@ -665,6 +666,7 @@ char **argv;
{
arg = argv[0];
+ /* Stop at first non-option. */
if ( arg[0] != '-' || arg[1] == '\0' )
break;