fishpvp / pb4php

Automatically exported from code.google.com/p/pb4php
0 stars 0 forks source link

import statement support for PBParser #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attached you will find a patch for PBParser to support the "import" statement.

(See also "Importing Definitions" in
http://code.google.com/intl/de-DE/apis/protocolbuffers/docs/proto.html)

I also attached pb_parser.php as a whole.

The patch is against the version of pb_parser.php in protocolbuf_025.zip

All the best,

Patrick

Original issue reported on code.google.com by ppra...@actindo.de on 26 Mar 2009 at 7:21

Attachments:

GoogleCodeExporter commented 9 years ago
thanks to patrick i submitted it to the trunk .. change slightly the regex (it 
is not
a must that a ";" must stand at the end of the line, and maked the _get_type 
function
import safety. [32]

Original comment by kordu...@googlemail.com on 27 Mar 2009 at 10:20

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/pb4php/source/detail?r=32

Original comment by kordu...@googlemail.com on 27 Mar 2009 at 10:20

GoogleCodeExporter commented 9 years ago

Original comment by kordu...@googlemail.com on 27 Mar 2009 at 10:21