188a5a7a3af54bd45383c72e452d627d33e63391 |
|
28-Oct-2009 |
Jack Palevich <jackpal@google.com> |
Support nested macros. (Still don't support macro arguments.) Now you can say: #define A B #define B C #define C 4 int x = A; And it will work as expected. Print an error message rather than assert when we're expecting a function value, but don't find one.
/system/core/libacc/tests/main.cpp
|
66d487487fd117df392e6bb88ffa7d7b3d16d45d |
|
27-Oct-2009 |
Jack Palevich <jackpal@google.com> |
Print out error message when symbol lookup fails.
/system/core/libacc/tests/main.cpp
|
1c60e46e0e5a20426e235eaede8f1cf7395f4cc0 |
|
19-Sep-2009 |
Jack Palevich <jackpal@google.com> |
Produce error rather than assert when encountering a nested function. Remove extra '\n' characters from error messages. Dynamically allocate error message buffer.
/system/core/libacc/tests/main.cpp
|
d5315573d792c8441482b1cbe9ac7e93d3f730d1 |
|
09-Sep-2009 |
Jack Palevich <jackpal@google.com> |
Move ARM disassembler out of libacc and into the acc command-line tool.
/system/core/libacc/tests/main.cpp
|
8c246a9dc294760f2a981cf5144fe4939d1554e6 |
|
15-Jul-2009 |
Jack Palevich <jackpal@google.com> |
Add accRegisterSymbolCallback API to control external symbol linkage. Until now dlsym was used to lookup external symbols. Now you can register your own function to be called when an undefined symbol is used.
/system/core/libacc/tests/main.cpp
|
422972cb127c229a38e79bb5d2d8df44aebeeeea |
|
18-Jun-2009 |
-b master <jackpal@google.com> |
Align ARM stack pointer to an 8-byte boundary when calling functions. This is required by the ARM EABI standard.
/system/core/libacc/tests/main.cpp
|
2db168f12feb0e25209b4aee385af074ef87157a |
|
11-Jun-2009 |
Jack Palevich <jackpal@google.com> |
Use a separate table for keywords.
/system/core/libacc/tests/main.cpp
|
36d9414f72b629dacc2c972e93d16cec08ef44b6 |
|
09-Jun-2009 |
Jack Palevich <jackpal@google.com> |
Make a host version of acc for testing. Don't run the code we've compiled unless the -R option is present.
/system/core/libacc/tests/main.cpp
|
b7c81e99522fbc5256f20e826eae18f2a33ea76a |
|
05-Jun-2009 |
Jack Palevich <jackpal@google.com> |
Switch to ANSI C style C function declarations. main(argc, argv) --> int main(int argc, char** argv) Although we accept int, void, and char types, and pointers to same, we actually still treat everything as an int.
/system/core/libacc/tests/main.cpp
|
eedf9d20832f1af3a4bd362819be6eace54240b5 |
|
05-Jun-2009 |
Jack Palevich <jackpal@google.com> |
Add support for #pragma foo(bar) Report unsupported/unknown preprocessor directives. Report line number of error rather than character offset.
/system/core/libacc/tests/main.cpp
|
ac0e95eb60fc8f8ef3281f9183630d1515bd12a7 |
|
29-May-2009 |
Jack Palevich <jackpal@google.com> |
Improve ACC error reporting. Now return an error code and an error message, rather than just printing to stderr or calling exit(). Check to see we don't exceed our code size.
/system/core/libacc/tests/main.cpp
|
1cdef20774b2cd30f1a509227c86845337f63f11 |
|
22-May-2009 |
Jack Palevich <jackpal@google.com> |
Convert libacc into a shared library. Document internal CodeGenerator interface Move license to a separate license file. Define a public API for calling libacc. Update the "acc" test program to use the public API. Move "main.cpp" and test scripts into the tests subdirectory. Move test data from tests to tests/data Remove stale test data.
/system/core/libacc/tests/main.cpp
|