[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2850.0. "request as local entity" by MICROW::LANG () Fri Apr 24 1992 13:13

    I have an MSL question.  We have a local entity, which we wanted
    to call REQUEST. That has meaning in the MSL.  Can that be used?
    When I try to use REQUEST, I get the error:
    
    MCCMSL-I-MSLLOCATION, Line: 56, File: mcc_tps_am_entity_request.ms,
    %MCCMSL-E-PARSER, syntax error: The value "REQUEST" is not expected
    
    Does this mean we can't use request?
    
    			thanks,
    					Bonnie
T.RTitleUserPersonal
Name
DateLines
2850.1request is reservedTOOK::MATTHEWSFri Apr 24 1992 19:2317
    I believe their are a number of keywords for MSL that can't be used
    for entity identifiers. Request, exception, directive, etc.
    
    The MSL translator is based upon lexical tools that look for keywords.
    We use SCAN in VMS and awk I believe for Ultrix. Since the lexical
    analyzer is unaware of the position context within the syntax, then
    it must reserve certain keywords for purely syntactic use. 
    
    We could solve this restriction by creating an elegant parser but
    that is not a practical solution. So it is dangerous to use any of
    the syntactic keywords of MSL for anything else. If it works, it
    is purely accidental.
    
    I might suggest that you look for another word that has a similar
    meaning.
    
    wally
2850.2Corrections: MSL keywords:TOOK::L_GROSSMANMon Apr 27 1992 11:507
The msl keywords are only recognized in all uppercase, so if you can use
"Request" or any other cobination as long at least one character is
in lower case, it should work.

Correction: The VMS and ULTRIX V1.2 DECmcc MSL translator is written with
the ULTRIX tools Lexx and Yacc.