[m-rev.] trivial diff: work around lcc bug
Simon Taylor
stayl at cs.mu.OZ.AU
Mon Oct 29 16:26:38 AEDT 2001
On 29-Oct-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 27-Oct-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> >
> > recompilation_version.m:
> > Slightly modify the types defined in this module to work
> > around an lcc bug which caused it to report a spurious
> > syntax error when compiling the generated C code.
>
> Could you be more specific about the lcc bug?
> What syntax was lcc complaining about?
It's the same thing that happened a while ago where
lcc reported errors for a long identifier.
Simon.
recompilation_version.c:2416: undeclared identifier `mercury_data_recompilation_
_type_info_item_id_set_3__type_18_tree234__tree234_2__type_16_std_util__pair_2__
type0_10___string_0__type0_7___int_0__type_12_list__list_1__type_16_std_util__pa
ir_2__type0_17_prog_data__item_0__type0_15_term__context_0__type_18_tree234__tre
e234_2__type_16_std_util__pair_2__type0_10___string_0__type0_7___int_0__type_12_
list__list_1__type_16_std_util__pair_2__type0_17_prog_data__item_0__type0_15_ter
m__context_0__type_18_tree234__tree234_2__type_16_std_util__pair_2__type0_10___s
tring_0__type0_7___int_0__type_12_list__list_1__type_16_std_util__pair_2__type0_
17_prog_data__item_0'
recompilation_version.c:2416: syntax error; found `__type0_15_term__context_0' e
xpecting `}'
recompilation_version.c:2416: skipping `__type0_15_term__context_0' `,' `(' `MR_
PseudoTypeInfo' `)' `&' `mercury_data_list__type_info_list_1__type_16_std_util__
pair_2__type_16_std_util__pair_2__type_17_std_util__maybe_1__type0_25_prog_data_
_pred_or_func_0__type0_31_prog_data__sym_name_and_arity_0__type_16_std_util__pai
r_2__type0_17_prog_data__item_0__type0_15_term__context_0' `,' ... up to `}'
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list