projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly test for a valid identifer after #define and #undef.
[cparser]
/
attribute.c
diff --git
a/attribute.c
b/attribute.c
index
ce97cc6
..
71f91d3
100644
(file)
--- a/
attribute.c
+++ b/
attribute.c
@@
-228,7
+228,7
@@
static const char *get_argument_string(const attribute_argument_t *argument)
expression_t *expression = argument->v.expression;
if (expression->kind != EXPR_STRING_LITERAL)
return NULL;
expression_t *expression = argument->v.expression;
if (expression->kind != EXPR_STRING_LITERAL)
return NULL;
- return expression->literal.value.begin;
+ return expression->
string_
literal.value.begin;
}
static void handle_attribute_visibility(const attribute_t *attribute,
}
static void handle_attribute_visibility(const attribute_t *attribute,