modifying the aidl compiler to generate c++ interface

i saw the source code for aidl compiler which is written in c++.

i have to modify so that i can get c++ interface when .aidl file is compiled.

so i understood .l(lex file) .y(yacc file) files do the lexical and syntactic analysis. aidl.cpp includes the grammar of aidl language.

Is it sufficient if i just change generate_java files to generate_cpp or is there any need to change the AST.cpp file ??


Last edited on
Topic archived. No new replies allowed.