Changeset 217


Ignore:
Timestamp:
12/14/05 14:21:56 (19 years ago)
Author:
remar
Message:
  • added missing Modelica keywords and Meta-Modelica keywords
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt/src/org/modelica/mdt/editor/ModelicaRuleScanner.java

    r193 r217  
    102102        /* keywords list has to be alphabetized for this to work properly */
    103103        static public String[] keywords = {
    104             "algorithm","and","annotation","block","break",
    105             "class","connector","constant",
     104            "algorithm","and","annotation","assert",
     105            "block","break",
     106            "class","connect","connector","constant",
    106107            "der","discrete",
    107             "each","elseif","elsewhen","encapsulated","end",
     108            "each","else","elseif","elsewhen","encapsulated","end",
    108109            "enumeration","equation",
    109110            "extends","external","false","final",
     
    111112            "if","import","in","initial","inner","input",
    112113            "loop","model","not","or","outer",
    113             "output","package","parameter",
     114            "output","overload","package","parameter",
    114115            "partial","protected","public","record",
    115             "redeclare","replacable","return",
    116             "then","time","true","type","when","while","within"
     116            "redeclare","replacable","return", "terminate",
     117            "then","time","true","type","when","while","within",
     118           
     119            /* The following are Meta-Modelica Keywords */
     120            "as", "case", "list", "local", "match", "matchcontinue" ,
     121            "tuple", "uniontype"
    117122        };
    118 
     123       
    119124        public ModelicaKeywordDetector()
    120125        {
Note: See TracChangeset for help on using the changeset viewer.