[anjuta] language-support-cpp-java: Better expression parsing (bgo#608499)
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-cpp-java: Better expression parsing (bgo#608499)
- Date: Wed, 3 Mar 2010 10:40:24 +0000 (UTC)
commit 3fac99fbd8509b448b6729f7bc70bb08154f9052
Author: Johannes Schmid <jhs idefix localdomain>
Date: Tue Mar 2 10:21:48 2010 +0100
language-support-cpp-java: Better expression parsing (bgo#608499)
.../language-support-cpp-java/cpp-java-assist.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/language-support-cpp-java/cpp-java-assist.c b/plugins/language-support-cpp-java/cpp-java-assist.c
index 50fd606..bbcd120 100644
--- a/plugins/language-support-cpp-java/cpp-java-assist.c
+++ b/plugins/language-support-cpp-java/cpp-java-assist.c
@@ -785,7 +785,7 @@ is_expression_separator (gchar c, gboolean skip_braces, IAnjutaIterable* iter)
else if (c == ')' && !skip_braces)
return FALSE;
- if (c == ';' || c == '\n' || c == '\r' || c == '\t' ||
+ if (c == ',' || c == ';' || c == '\n' || c == '\r' || c == '\t' || c == '(' ||
c == '{' || c == '}' || c == '=' || c == '<' || c == '\v' || c == '!')
{
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]