aboutsummaryrefslogtreecommitdiff
path: root/src/doc
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-06-08 01:52:52 +0000
committerdos-reis <gdr@axiomatics.org>2009-06-08 01:52:52 +0000
commita6bb66d5a34279f6b762cedc577155de6259ff30 (patch)
treef55617c55134a7ac63b8ca4569e09498042febf3 /src/doc
parentf8913372cea43183d427cbe3d00c4967a840329b (diff)
downloadopen-axiom-a6bb66d5a34279f6b762cedc577155de6259ff30.tar.gz
Fix SF/2799773
* interp/c-util.boot (diagnoseUnknownType): Diagnose duplicate fields in Record or Union, or duplicate constants in Enumeration. * interp/i-eval.boot (checkRecordOrUnionFields): New. (evaluateType): Use it. * testsuite/interpreter/sf-2799773.input: New.
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/msgs/s2-us.msgs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/doc/msgs/s2-us.msgs b/src/doc/msgs/s2-us.msgs
index d3e2ca8c..9f6cc921 100644
--- a/src/doc/msgs/s2-us.msgs
+++ b/src/doc/msgs/s2-us.msgs
@@ -355,6 +355,12 @@ S2IL0028
S2IL0029
No .ao files were found when %2 was unarchived into directory %1.
The file %2 was not compiled.
+S2IL0030
+ The Record or Union field %1bp is specified more than once.
+S2IL0031
+ Enumeration constants must be identifiers.
+S2IL0032
+ You cannot repeat enumeration constants, e.g. %1pb
S2IM0001
The previous declaration of %1b as %2bp is incompatible with its new use
as a function. If you do not want the old value, issue %b )clear prop