projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More constness/namespace policing
[pspp-builds.git]
/
src
/
language
/
control
/
do-if.c
diff --git
a/src/language/control/do-if.c
b/src/language/control/do-if.c
index b39f67e500459b8ccd84d1b3fc0b70d45a71436b..4837366643f271fe0961f09f710fa8a468013a16 100644
(file)
--- a/
src/language/control/do-if.c
+++ b/
src/language/control/do-if.c
@@
-80,7
+80,7
@@
struct do_if_trns
int past_END_IF_index; /* Transformation just past last clause. */
};
int past_END_IF_index; /* Transformation just past last clause. */
};
-static struct ctl_class do_if_class;
+static
const
struct ctl_class do_if_class;
static int parse_clause (struct do_if_trns *);
static void add_clause (struct do_if_trns *,
static int parse_clause (struct do_if_trns *);
static void add_clause (struct do_if_trns *,
@@
-285,7
+285,7
@@
break_trns_proc (void *do_if_, struct ccase *c UNUSED, casenum_t case_num UNUSED
}
/* DO IF control structure class definition. */
}
/* DO IF control structure class definition. */
-static struct ctl_class do_if_class =
+static
const
struct ctl_class do_if_class =
{
"DO IF",
"END IF",
{
"DO IF",
"END IF",