Improved support for comment folding
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / sql / parser / SQLParser.java
index 4bb97cb..9911716 100644 (file)
@@ -28,16 +28,6 @@ public class SQLParser {
                                                commands.addElement(newCommand);
                                        }
                                        buffer = new StringBuffer();
-                               } else if (t.getType() == Token.GROUP) {
-                                       // We don't append the group token because it may be misinterpreted
-                                       //groupBuffer.append(t.getValue());
-                                       String newGroup = groupBuffer.toString().trim();
-                                       if (!newGroup.equals("")) { //$NON-NLS-1$
-                                               groups.addElement(newGroup);
-                                               //Groups have precedence over commands, so the preceding commands are erased
-                                               commands.clear();
-                                       }
-                                       groupBuffer = new StringBuffer();
                                } else {        
                                        // We append the tokens to the buffer until it's a separator or group.
                                        buffer.append(t.getValue());