| 40 | } |
| 41 | |
| 42 | bool Interactive::isExpression(const QString& s) |
| 43 | { |
| 44 | TokenReader t(s); |
| 45 | while(int i=t.nextToken()) { |
| 46 | if(i==';'||i=='}') { |
| 47 | return false; |
| 48 | } |
| 49 | } |
| 50 | return true; |
| 51 | } |
| 52 | |
| 53 | void Interactive::execCommand(const QString& str) |
| 54 | { |