vsmguy
Joined: 13 Jan 2007 Posts: 91
|
The annotated LST file does not correspond to what the compi |
Posted: Sun Mar 04, 2007 3:28 am |
|
|
I am not sure if this a bug, but definitely a feature missing from CCS C.
The annotated LST file does not correspond to what the compiler sees, but rather what the user sees.
For example, if I do :
Code: |
#define example void main() {
example
someVar = 1;
...
|
The annotated LST will contain EXACTLY this, instead of the expected :
Code: |
void main() {
someVar = 1;
...
|
The compiler sees the code *after* the preprocessor has done with it. This is exactly what should be reported to the user through the LST too.
I am sure I was not able to highlight the importance of this, but for more complicated projects, this will pose a problem for a programmer doing static verification. |
|