T.R | Title | User | Personal Name | Date | Lines |
---|
14.1 | msl trace | DSTEG2::HOSSFELD | I'm so confused! | Wed Sep 27 1989 12:44 | 135 |
| (*
The following trace back occured with the msl compiler. The ms file
is attached to the end. (The msl file is an old one being updated)
*********************************************
$mccmsl
MCC Management Specification Language Translation Tool
Version T1.0.0
MSL File: MCC$MSL_TRACK_BACK.MS
Languages:cc
%SCN-F-TRENODNOT, Tree node does not exist
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name routine name line rel PC abs PC
00020721 00020721
SCAN_MDL END_ENTITY 1695 0000027B 0000A506
0001E0F6 0001E0F6
0001FBEB 0001FBEB
0001EF40 0001EF40
0001F3C1 0001F3C1
0001F381 0001F381
SCAN_MDL MAIN 4872 0000083A 00013D95
**)
(* compile msl in cms *)
(*
* TITLE: MCC$EMM_ACPT_MGT_IF.MD
*
* Copyright (C) 1988 by
* Digital Equipment Corporation, Maynard, Mass.
*
* This software is furnished under a license and may be used and copied
* only in accordance with the terms of such license and with the
* inclusion of the above copyright notice. This software or any other
* copies thereof may not be provided or otherwise made available to any
* other person. No title to and ownership of the software is hereby
* transferred.
*
* The information in this software is subject to change without notice
* and should not be construed as a commitment by Digital Equipment
* Corporation.
*
* Digital assumes no responsibility for the use or reliability of its
* software on equipment which is not supplied by Digital.
*
* MODULE DESCRIPTION:
* This module supports the DSTEG MCC$ACPT_EMM management definition (MD).
*
* Networks & Communications Software Engineering
*
* IDENT HISTORY:
*
* 1.000 30-MAR-1989
* Plagerized the CONTROL EMM management interface MSL (SJL)
* X.0.1 07:57:02 26-APR-1989
* This one works
*)
MANAGEMENT SPECIFICATION MCC$ACPT_FMM_MGT_IF;
VERSION = X0.0.1
(* Description: Management Interface MD for the ACEPTANCE FMM *)
GLOBAL ENTITY ACPT = 50 : (* I picked a high number until we get
one of our own assigned (SJL)
This must be unique to the global entity
(superior) MCC*)
IDENTIFIER = (); (* *)
IN-DATABASE = FALSE; (* *)
SYMBOL = CLASS_ACPT_FMM;
ENTITY-TYPE = APPLICATION; (* *)
CHARACTERISTIC ATTRIBUTE
Version = 1 : SimpleName
ACCESS = NONSETABLE,
DISPLAY = TRUE,
VALUE_REQUIRED = FALSE,
CATEGORIES = (1),
SYMBOL = CHAR_VERSION;
Name = 2 : SimpleName
ACCESS = NONSETABLE,
DISPLAY = TRUE,
VALUE_REQUIRED = FALSE,
CATEGORIES = (1),
SYMBOL = CHAR_NAME;
(* End CHARACTERISTIC attribute definitions *)
IDENTIFIER ATTRIBUTE
What = 11 : SimpleName
ACCESS = NONSETABLE,
DISPLAY = TRUE,
VALUE_REQUIRED = FALSE,
CATEGORIES = (1),
SYMBOL = IDENT_WHAT;
When = 12 : SimpleName
ACCESS = NONSETABLE,
DISPLAY = TRUE,
VALUE_REQUIRED = FALSE,
CATEGORIES = (1),
SYMBOL = IDENT_WHEN;
(* End INDITIFIRE attribute definitions *)
(* Begin DIRECTIVE definitions *)
DIRECTIVE SHOW = 1 : MCC$ACPT_FMM.MCC$ACPT_FMM_SHOW (* filename.entrypoint
going away these are really done in vector.mar *)
HIDDEN = FALSE,
CATEGORIES = (1); (* iso management catagories next version will
have names not numbers *)
END DIRECTIVE SHOW;
DIRECTIVE TEST = 3 : MCC$ACPT_FMM.MCC$ACPT_FMM_TEST
HIDDEN = FALSE,
CATEGORIES = (1);
(* Begin REQUEST definitions *)
REQUEST (* ??required *)
ARGUMENT
Number Of Times = 01 : Integer
DISPLAY = TRUE,
VALUE_REQUIRED = TRUE,
DEFAULT = 1;
END REQUEST;
END DIRECTIVE TEST;
END ENTITY ACPT;
END SPECIFICATION; (* MCC$FMM_ACPT_MGT_IF.MD *)
|
14.2 | msl trace back .err file | DSTEG2::HOSSFELD | I'm so confused! | Wed Sep 27 1989 12:50 | 51 |
| This file was riddled with errors because it is for an old version
of MSl but what is the best way to understand it and the line numbers
don't match?
*********************************************************
Errors in MS file(s):
Line #: Text
-----------------------------------------
4: MANAGEMENT SPECIFICATION MCC$ACPT_FMM_MGT_IF
5: VERSION = X0.0.1
11: CHARACTERISTIC ATTRIBUTE
12: Version = 1 : SimpleName
13: ACCESS = NONSETABLE ,
14: DISPLAY = TRUE ,
15: VALUE_REQUIRED = FALSE ,
16: CATEGORIES = ( 1 ) ,
17: SYMBOL = CHAR_VERSION
19: Name = 2 : SimpleName
20: ACCESS = NONSETABLE ,
21: DISPLAY = TRUE ,
22: VALUE_REQUIRED = FALSE ,
23: CATEGORIES = ( 1 ) ,
24: SYMBOL = CHAR_NAME
27: IDENTIFIER ATTRIBUTE
28: What = 11 : SimpleName
29: ACCESS = NONSETABLE ,
30: DISPLAY = TRUE ,
31: VALUE_REQUIRED = FALSE ,
32: CATEGORIES = ( 1 ) ,
33: SYMBOL = IDENT_WHAT
35: When = 12 : SimpleName
36: ACCESS = NONSETABLE ,
37: DISPLAY = TRUE ,
38: VALUE_REQUIRED = FALSE ,
39: CATEGORIES = ( 1 ) ,
40: SYMBOL = IDENT_WHEN
45: DIRECTIVE SHOW = 1 : MCC$ACPT_FMM.MCC$ACPT_FMM_SHOW
46: HIDDEN = FALSE ,
47: CATEGORIES = ( 1 )
50: DIRECTIVE TEST = 3 : MCC$ACPT_FMM.MCC$ACPT_FMM_TEST
51: HIDDEN = FALSE ,
52: CATEGORIES = ( 1 )
55: REQUEST
56: ARGUMENT
57: Number Of Times = 01 : Integer
58: DISPLAY = TRUE ,
59: VALUE_REQUIRED = TRUE ,
60: DEFAULT = 1
61: END REQUEST
|
14.3 | msl - scan? | DSTEG2::HOSSFELD | I'm so confused! | Wed Sep 27 1989 12:57 | 4 |
| In reference to .1 there appears to be a SCAN error but the documentation
doesn't reference Scan anywhere.
|
14.4 | INFO- item will be forwarded | GOSTE::CALLANDER | | Thu Sep 28 1989 15:29 | 3 |
|
I will forward this to the appropriate developer.
|
14.5 | ? Syntax error | COOKIE::SEAGLE | 44% of statistics are meaningless | Mon Jun 25 1990 15:55 | 48 |
| This looks like a good place to post this, but if not the Moderators
may certainly move it.
The MSL compiler seems to think that this definition has a syntax
error. I cannot for the life of me find the problem...can someone
else? The source fragment follows...
DIRECTIVE SET = 99 :
DIRECTIVE-TYPE = MODIFY,
CATEGORIES = (CONFIGURATION)
REQUEST
ARGUMENT Newvalue = 999 : Counter16
ECHO = TRUE,
DISPLAY = TRUE,
DEFAULT = NO DEFAULT,
SYMBOL = ARG_SET_NEWVALUE
END ARGUMENT Newvalue;
END REQUEST;
RESPONSE Success = 1 :
SYMBOL = SET_SUCCESS,
TEXT = "Foobar set successfully.",
END RESPONSE Success;
EXCEPTION Set Failed = 888 :
SYMBOL = SAM_MGMT_SET_FAIL,
TEXT = "Sample AM SET failed",
END EXCEPTION Set Failed;
END DIRECTIVE SET;
In particular, the "EXCEPTION Set Failed" exception (all 4 lines) is
reported as "not parsed by the MSL translator" for some reason. Any
clues/suggestions as to what the problem is and how to fix it would be
greatly appreciated. If someone needs to see the *entire* MSL source,
drop me a line via VAXmail and I will mail it to you.
Thanks,
David.
|
14.6 | try this first | TOOK::STRUTT | Colin Strutt | Mon Jun 25 1990 19:13 | 6 |
| In the spirit of true compile, fix the first problem you see and comile
again.......
how about adding a :,: after the CATEGORIES line
Colin
|
14.7 | RE: .6 ... no joy | COOKIE::SEAGLE | 44% of statistics are meaningless | Mon Jun 25 1990 20:48 | 14 |
| Thanks for the suggestion, Colin, but unfortunately that did not
correct the error. I tried several things along these lines prior
to posting the note including:
- rearranging the code
- adding/removing commas and/or semicolons
- trying different cases on the verbs, etc.
to no avail. The BNF indicates that this *should* be fine, but the
compiler says otherwise.
Keep those ideas coming!
David.
|
14.8 | Keyword inside a text string | TOOK::L_GROSSMAN | | Tue Jun 26 1990 12:04 | 8 |
|
Dave is running version T1.0.0 of MSL which still has the restriction
that MSL keywords are not allowed inside text strings and quoted
DEFAULT strings. This restriction has been removed but MSL keywords
are still not allowed as identifiers unless the keyword is not in
all uppercase.
Larry
|