Ignore marker in PL/SQL files are not excluded when file is executed. release701
authorSubhashini Sooriarachchi <subslk@netbeans.org>
Tue, 03 Jan 2012 14:52:23 +0530
branchrelease701
changeset 1152c5679df459d
parent 114 0df234601ee1
child 116 11bb02e44aad
Ignore marker in PL/SQL files are not excluded when file is executed.
PLSQL/Execution/src/org/netbeans/modules/plsql/execution/PlsqlExecutableBlocksMaker.java
     1.1 --- a/PLSQL/Execution/src/org/netbeans/modules/plsql/execution/PlsqlExecutableBlocksMaker.java	Tue Jan 03 08:32:58 2012 +0100
     1.2 +++ b/PLSQL/Execution/src/org/netbeans/modules/plsql/execution/PlsqlExecutableBlocksMaker.java	Tue Jan 03 14:52:23 2012 +0530
     1.3 @@ -232,7 +232,7 @@
     1.4                  break;
     1.5              }
     1.6  
     1.7 -            if (startOfBlock && (token.id() == PlsqlTokenId.LINE_COMMENT || token.id() == PlsqlTokenId.BLOCK_COMMENT || token.id() == PlsqlTokenId.WHITESPACE)) {
     1.8 +            if (startOfBlock && (token.id() == PlsqlTokenId.LINE_COMMENT || token.id() == PlsqlTokenId.BLOCK_COMMENT || token.id() == PlsqlTokenId.WHITESPACE || token.id() == PlsqlTokenId.IGNORE_MARKER)) {
     1.9                  //skip comments at the beginning of a statement (and in between or after statement)
    1.10                  offset = ts.offset() - startDoc + token.toString().length();
    1.11              } else if (token.id() == PlsqlTokenId.OPERATOR) {