Should be 

```viml 
   while currentLineNum > 1 && (  IsMethodDetail(currentLineText)
     \ || IsClassDetail(currentLineText)
     \ || EndsInComma(currentLineText) )
```

Or there is a syntax error