1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Bug 393474: In Expression view: cannot cast to type that contain commas

This commit is contained in:
Grzegorz Kuligowski 2012-11-08 16:14:03 -05:00 committed by Marc Khouzam
parent aff4913d17
commit 68cd405223

View file

@ -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)