forked from booyah/protobuf-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restoring CamelCase'd filenames for generated files.
Earlier (pre-bf7da0), we used UnderscoresToCapitalizedCamelCase() to transform filename strings, but that code was too aggressive. It performed undesirable transformations like: ABFilename => AbFilename A new routine -- FilenameToCamelCase() -- has been added that performs a more appropriate set of filename transformations: 1. Non-alphanumeric characters are stripped. 2. Characters following non-letters are uppercased. This yields the following results: ABFilename => ABFilename a_filename => AFilename myNumber1fan => MyNumber1Fan
- Loading branch information
Jon Parise
committed
Nov 12, 2010
1 parent
b856753
commit ff33902
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters