Do not automatically add a dot with generator -e option.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sun, 20 Jul 2014 11:25:11 +0000 (14:25 +0300)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sun, 20 Jul 2014 11:25:11 +0000 (14:25 +0300)
commit3cf9668c755560a69e4858dea4f3c415bf807441
treee2746338dabd9ee34e23bc3b35da0760a8d56976
parent7f97ad549e8ef2050c662b8160745402e84e8006
Do not automatically add a dot with generator -e option.

Now -e option in generator is more versatile. Especially it avoids
double-dot problem with some build systems.

Given foobar.proto, we now get:
-e .pb  =>  foobar.pb.c (default)
-e _pb  =>  foobar_pb.c
-e ''   =>  foobar.c

Note that if you have used -e option previously, you will have to prepend
. to the argument to get the same filenames as before.

Update issue 122
Status: FixedInGit
generator/nanopb_generator.py