tinyos / nesc

Master nesc repository
GNU General Public License v2.0
100 stars 53 forks source link

Fix for __nesc_keyword_ function undeclared #16

Closed bradjc closed 11 years ago

bradjc commented 11 years ago

Added a check to see if the function name starts with __nesc_keyword_. If so, nesC now checks to see if the suffix function name is defined before throwing an error.

Also moved the #define for __nesc_keyword_ to a header file that both relevant files include.

Fixes issue #4

bradjc commented 11 years ago

I moved this to lookup_id().