- Timestamp:
- 06/19/08 19:10:01 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/IDLDOC_3_1/idldoc/src/parser/docparprofileparser__define.pro
r492 r509 324 324 ; token delimiters are: space, tab, comma, and colon 325 325 delims = ' ' + string(9B) + ',:' 326 tokens = strsplit(self->_stripComments(command), delims, /extract, count=nTokens) 326 cmd = self->_stripComments(command) 327 tokens = strsplit(cmd, delims, /extract, count=nTokens) 327 328 if (nTokens eq 0) then begin 328 329 if (justFinishedComment eq 2 && currentComments->count() gt 0) then begin … … 393 394 file->addRoutine, routine 394 395 395 routine->setProperty, name=(strsplit(tokens[1], ',', /extract))[0] 396 ; if there is a routine header with a :: in it, then it's a method name 397 routineName = strpos(cmd, '::') eq -1 ? tokens[1] : strjoin(tokens[1:2], '::') 398 routine->setProperty, name=routineName 399 396 400 formatParser->checkForClass, routine 397 401 if (strpos(tokens[1], '::') ne -1) then routine->setProperty, is_method=1B
