mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Bug 393474: In Expression view: cannot cast to type that contain commas
This commit is contained in:
parent
aff4913d17
commit
68cd405223
1 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Marc Khouzam (Ericsson) - initial API and implementation
|
* Marc Khouzam (Ericsson) - initial API and implementation
|
||||||
|
* Grzegorz Kuligowski - Cannot cast to type that contain commas (bug 393474)
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.dsf.gdb.service;
|
package org.eclipse.cdt.dsf.gdb.service;
|
||||||
|
|
||||||
|
@ -69,9 +70,10 @@ public class GDBPatternMatchingExpressions extends AbstractDsfService implements
|
||||||
* the different expressions contained in a group-expression.
|
* the different expressions contained in a group-expression.
|
||||||
* The [] are not part the characters, but are used in the regex format.
|
* The [] are not part the characters, but are used in the regex format.
|
||||||
* Note that we don't allow a space separator because spaces are valid within
|
* Note that we don't allow a space separator because spaces are valid within
|
||||||
* an expression (e.g., i + 1)
|
* an expression (e.g., i + 1).
|
||||||
|
* We also don't allow a comma because they are used in templates (bug 393474)
|
||||||
*/
|
*/
|
||||||
private final static String GROUP_EXPRESSION_SEPARATORS_REGEXP = "[,;]"; //$NON-NLS-1$
|
private final static String GROUP_EXPRESSION_SEPARATORS_REGEXP = "[;]"; //$NON-NLS-1$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A group-expression is an expression that requires expansion into a (potentially empty)
|
* A group-expression is an expression that requires expansion into a (potentially empty)
|
||||||
|
|
Loading…
Add table
Reference in a new issue