Changeset 11197

Show
Ignore:
Timestamp:
10/29/07 17:54:33 (13 months ago)
Author:
pottedmeat
Message:

Refs #4686. Update parser to re-read comment block if new keys are added.

Location:
util/trunk/docscripts/lib/parser
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • util/trunk/docscripts/lib/parser/DojoFunctionBody.php

    r11143 r11197  
    4040 
    4141  public function addBlockCommentKey($key) { 
     42    $this->comments = array(); 
    4243    if ($key) { 
    4344      $this->keys[] = $key; 
     
    4950   */ 
    5051  public function addBlockCommentKeySet($key) { 
     52    $this->comments = array(); 
    5153    if ($key) { 
    5254      $this->key_sets[] = $key; 
  • util/trunk/docscripts/lib/parser/DojoFunctionDeclare.php

    r11194 r11197  
    270270      $output[$instance_function->getFunctionName()]['instance'] = $function_name; 
    271271    } 
    272      
     272 
    273273    $comment_keys = $this->getBlockCommentKeys(); 
    274274    foreach($comment_keys as $key){