Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed trailing ?>

  • Loading branch information...
commit 337b46942326383d74278fbb3b33d88a083a8009 1 parent a94fb0b
Jeffrey Sambells authored December 04, 2010 bramp committed December 06, 2010
3  addressbook.proto
@@ -5,6 +5,9 @@ package tutorial;
5 5
 option java_package = "com.example.tutorial";
6 6
 option java_outer_classname = "AddressBookProtos";
7 7
 
  8
+option php_package = "com.example.tutorial";
  9
+option php_outer_classname = "AddressBookProtos";
  10
+
8 11
 message Person {
9 12
   required string name = 1;
10 13
   required int32 id = 2;        // Unique ID number for this person.
4  protoc-gen-php.cc
@@ -1029,11 +1029,9 @@ bool PHPCodeGenerator::Generate(const FileDescriptor* file,
1029 1029
 
1030 1030
 		if (!namespace_.empty()) {
1031 1031
 			printer.Outdent();
1032  
-			printer.Print("}\n");
  1032
+			printer.Print("}");
1033 1033
 		}
1034 1034
 
1035  
-		printer.Print("?>");
1036  
-
1037 1035
 	} catch (const char *msg) {
1038 1036
 		error->assign( msg );
1039 1037
 		return false;

0 notes on commit 337b469

Please sign in to comment.
Something went wrong with that request. Please try again.