Changeset 35 for trunk/t3d/src/elements
- Timestamp:
- 05/08/11 19:32:17 (14 years ago)
- Location:
- trunk/t3d/src/elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/t3d/src/elements/TTCN3Comment.java
r7 r35 116 116 } 117 117 118 if (T3D.activeProfile.isCheckFunctionDescTagsRequired()) 119 if (elementType != TTCN3ParserTokenTypes.FunctionDef 120 // && elementType != TTCN3ParserTokenTypes.TestcaseDef 121 // && elementType != TTCN3ParserTokenTypes.AltstepDef 122 && desc.size() <= 0) { 123 warnings.add(getWarningMissingTags("@" + T3D.activeProfile.getCommentTagsConfiguration().getDescTag())); 124 } 125 126 118 127 for (String d : desc) 119 128 if (d.length() <= 0) … … 179 188 return "Empty tag found: " + tagname; 180 189 } 181 190 191 private String getWarningMissingTags(String tagname){ 192 return "Required " + tagname + " tag is missing"; 193 } 194 182 195 183 196 private String getIdentifier(String comment, int pos){ -
trunk/t3d/src/elements/TTCN3Element.java
r7 r35 36 36 this.paramView = paramView; 37 37 this.path = path; 38 39 40 38 41 39 for(String warning : comment.getWarnings()) {
Note: See TracChangeset
for help on using the changeset viewer.