Material BlockLanguageParser now accounts for commented lines when computing the line number of a statement

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10189 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 12 years ago
parent 5e0013fb57
commit de229d4bec
  1. 1
      engine/src/core/com/jme3/util/blockparser/BlockLanguageParser.java

@ -90,6 +90,7 @@ public class BlockLanguageParser {
insideComment = true;
pushStatement(buffer);
lastChar = '\0';
lineNumber++;
}else if (!insideComment){
if (ci == -1 || c == '{' || c == '}' || c == '\n' || c == ';'){
pushStatement(buffer);

Loading…
Cancel
Save