IPreferenceConstants.PHP_KEYWORD,
IPreferenceConstants.PHP_FUNCTIONNAME,
IPreferenceConstants.PHP_VARIABLE,
- IPreferenceConstants.PHP_STRING,
+ IPreferenceConstants.PHP_STRING_DQ,
+ IPreferenceConstants.PHP_STRING_SQ,
IPreferenceConstants.PHP_TYPE,
IPreferenceConstants.PHP_CONSTANT,
IPreferenceConstants.PHP_DEFAULT };
protected List createRules() {
List rules = new ArrayList();
// Add rule for strings and character constants.
- Token token = getToken(IPreferenceConstants.PHP_STRING);
+ Token token = getToken(IPreferenceConstants.PHP_STRING_DQ);
rules.add(new MultiLineRule("\"", "\"", token, '\\')); //$NON-NLS-2$ //$NON-NLS-1$
// Add generic whitespace rule.