Permalink
Browse files

Aman - Issue #10 Fixed the issue where an exception occurred while ty…

…ping in new step in a story file..
  • Loading branch information...
1 parent 253ee63 commit feacd1ca81a241dc3e1072e6d2891e3b13bb9e60 @kumaraman21 committed Jan 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/com/github/kumaraman21/intellijbehave/parser/StoryParser.java
View
2 src/com/github/kumaraman21/intellijbehave/parser/StoryParser.java
@@ -76,11 +76,13 @@ private void parseScenario(PsiBuilder builder) {
}
private void parseSteps(PsiBuilder builder) {
+ parseStoryDescriptionLinesIfPresent(builder);
if(builder.getTokenType() == StoryTokenType.STEP_TYPE) {
StoryElementType previousStepElementType = null;
while(builder.getTokenType() == StoryTokenType.STEP_TYPE) {
previousStepElementType = parseStep(builder, previousStepElementType);
+ parseStoryDescriptionLinesIfPresent(builder);
}
}
else {

0 comments on commit feacd1c

Please sign in to comment.