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
This commit is contained in:
rem..om 2013-01-26 23:52:14 +00:00
parent 5e0013fb57
commit de229d4bec

View File

@ -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);