Changeset 78
- Timestamp:
- 09/26/07 14:18:05 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/idldoc/src/parser/docparprofileparser__define.pro
r76 r78 218 218 lastToken = strlowcase(tokens[nTokens - 1L]) 219 219 220 ; if ends with "begin" then codeLevel++ 220 ; if starting begin/end block (switch/case implicitly start a bloack) then 221 ; increase code level 221 222 if (lastToken eq 'begin' && ~insideComment) then codeLevel++ 223 if (firstToken eq 'case' || firstToken eq 'switch') then codeLevel++ 222 224 223 225 ; if starts with end* then codeLevel--
