Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormspector2009-07-02 03:09:02 -0400
committermspector2009-07-02 03:09:02 -0400
commitb0403583ab789c70b5b2bf72b91e96ed3b632d9a (patch)
treeb91d5bff32487fb5632672b20b3068b852a06ad0
parente6f2c829f9fdb799232d8f61613927436b80c4ae (diff)
downloadorg.eclipse.pdt-b0403583ab789c70b5b2bf72b91e96ed3b632d9a.tar.gz
org.eclipse.pdt-b0403583ab789c70b5b2bf72b91e96ed3b632d9a.tar.xz
org.eclipse.pdt-b0403583ab789c70b5b2bf72b91e96ed3b632d9a.zip
merged "source module length" fix from HEAD.
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php4/php_compiler_ast_parser.cup4
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php5/php_compiler_ast_parser.cup4
-rw-r--r--plugins/org.eclipse.php.core/Resources/parserTools/parser/php53/php_compiler_ast_parser.cup4
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.php.core/Resources/parserTools/parser/php4/php_compiler_ast_parser.cup b/plugins/org.eclipse.php.core/Resources/parserTools/parser/php4/php_compiler_ast_parser.cup
index aa885545b..b501c363c 100644
--- a/plugins/org.eclipse.php.core/Resources/parserTools/parser/php4/php_compiler_ast_parser.cup
+++ b/plugins/org.eclipse.php.core/Resources/parserTools/parser/php4/php_compiler_ast_parser.cup
@@ -2,7 +2,7 @@ package org.eclipse.php.internal.core.compiler.ast.parser.php4;
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
-//// $Id: php_compiler_ast_parser.cup,v 1.20 2009/05/08 22:01:13 mspector Exp $
+//// $Id: php_compiler_ast_parser.cup,v 1.20.2.1 2009/07/02 07:09:02 mspector Exp $
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -296,7 +296,7 @@ top_statement_list:statementList
}
program.setStart(statementListleft);
- program.setEnd(statementListright);
+ program.setEnd(statementListright + 1);
RESULT = program;
:}
;
diff --git a/plugins/org.eclipse.php.core/Resources/parserTools/parser/php5/php_compiler_ast_parser.cup b/plugins/org.eclipse.php.core/Resources/parserTools/parser/php5/php_compiler_ast_parser.cup
index 6036b32f8..71ec0e24d 100644
--- a/plugins/org.eclipse.php.core/Resources/parserTools/parser/php5/php_compiler_ast_parser.cup
+++ b/plugins/org.eclipse.php.core/Resources/parserTools/parser/php5/php_compiler_ast_parser.cup
@@ -2,7 +2,7 @@ package org.eclipse.php.internal.core.compiler.ast.parser.php5;
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
-//// $Id: php_compiler_ast_parser.cup,v 1.27 2009/05/08 22:01:09 mspector Exp $
+//// $Id: php_compiler_ast_parser.cup,v 1.27.2.1 2009/07/02 07:09:02 mspector Exp $
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -316,7 +316,7 @@ top_statement_list:statementList
}
program.setStart(statementListleft);
- program.setEnd(statementListright);
+ program.setEnd(statementListright + 1);
RESULT = program;
:}
;
diff --git a/plugins/org.eclipse.php.core/Resources/parserTools/parser/php53/php_compiler_ast_parser.cup b/plugins/org.eclipse.php.core/Resources/parserTools/parser/php53/php_compiler_ast_parser.cup
index 6eb363394..16d41a06a 100644
--- a/plugins/org.eclipse.php.core/Resources/parserTools/parser/php53/php_compiler_ast_parser.cup
+++ b/plugins/org.eclipse.php.core/Resources/parserTools/parser/php53/php_compiler_ast_parser.cup
@@ -2,7 +2,7 @@ package org.eclipse.php.internal.core.compiler.ast.parser.php53;
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
-//// $Id: php_compiler_ast_parser.cup,v 1.22 2009/05/08 22:01:09 mspector Exp $
+//// $Id: php_compiler_ast_parser.cup,v 1.22.2.1 2009/07/02 07:09:03 mspector Exp $
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -332,7 +332,7 @@ top_statement_list:statementList
}
program.setStart(statementListleft);
- program.setEnd(statementListright);
+ program.setEnd(statementListright + 1);
RESULT = program;
:}
;

Back to the top