Skip to content

Modularization of ctags and some refactorings #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 8, 2016

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Dec 29, 2015

  • "ctags" is now a module and allows an easier exchange of "parsing engines"
  • added an explicit PropertiesMap type that simplify the use of map[string]string in most cases and
    remove redundant utility functions
  • other minor cleanups

/cc @matthijskooijman @facchinm

Signed-off-by: Cristian Maglie <c.maglie@arduino.cc>
Signed-off-by: Cristian Maglie <c.maglie@arduino.cc>
The following files

   ctags_parser.go
   ctags_runner.go
   ctags_to_prototypes.go

have been moved into "ctags" package.

Signed-off-by: Cristian Maglie <c.maglie@arduino.cc>
This simplify the use of map[string]string in most cases and
remove redundant utility functions.

Signed-off-by: Cristian Maglie <c.maglie@arduino.cc>
ctags should list all prototypes, this commit moves the responsibility of
prototypes selection to prototypes_adder

Signed-off-by: Cristian Maglie <c.maglie@arduino.cc>
Signed-off-by: Cristian Maglie <c.maglie@arduino.cc>
@cmaglie cmaglie self-assigned this Dec 29, 2015
@matthijskooijman
Copy link
Collaborator

Looks good to me!

@cmaglie cmaglie merged commit c205ecd into arduino:master Jan 8, 2016
@cmaglie cmaglie deleted the refactorings_part_1 branch January 8, 2016 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants