Permalink
Browse files

Removed trailing ?>

  • Loading branch information...
1 parent a94fb0b commit 337b46942326383d74278fbb3b33d88a083a8009 @iamamused iamamused committed with Dec 4, 2010
Showing with 4 additions and 3 deletions.
  1. +3 −0 addressbook.proto
  2. +1 −3 protoc-gen-php.cc
View
@@ -5,6 +5,9 @@ package tutorial;
option java_package = "com.example.tutorial";
option java_outer_classname = "AddressBookProtos";
+option php_package = "com.example.tutorial";
+option php_outer_classname = "AddressBookProtos";
+
message Person {
required string name = 1;
required int32 id = 2; // Unique ID number for this person.
View
@@ -1029,11 +1029,9 @@ bool PHPCodeGenerator::Generate(const FileDescriptor* file,
if (!namespace_.empty()) {
printer.Outdent();
- printer.Print("}\n");
+ printer.Print("}");
}
- printer.Print("?>");
-
} catch (const char *msg) {
error->assign( msg );
return false;

0 comments on commit 337b469

Please sign in to comment.