summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-02-28 01:08:27 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2019-02-28 01:08:27 +0100
commit53a80761db24abf9b7501011f5e0bb80d8dbf996 (patch)
tree5fb2e47d791fe493c111afcb550c4b4c05225200
parenta9360222b053f38c8fd0f2ee21fc2f3ea94430d7 (diff)
eolian: properly skip the struct keyword in inlist structs
This was missed as a part of an incorrect merge.
-rw-r--r--src/lib/eolian/eo_parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 57b5e117c0..661ca9e75d 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -2215,6 +2215,8 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
2215 const char *freefunc = NULL; 2215 const char *freefunc = NULL;
2216 Eina_Strbuf *buf; 2216 Eina_Strbuf *buf;
2217 eo_lexer_get(ls); 2217 eo_lexer_get(ls);
2218 if (is_inlist)
2219 check_kw_next(ls, KW_struct);
2218 Eina_Bool has_extern = EINA_FALSE, has_free = EINA_FALSE; 2220 Eina_Bool has_extern = EINA_FALSE, has_free = EINA_FALSE;
2219 for (;;) switch (ls->t.kw) 2221 for (;;) switch (ls->t.kw)
2220 { 2222 {