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:
parent
5e0013fb57
commit
de229d4bec
@ -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…
x
Reference in New Issue
Block a user