diff options
Diffstat (limited to 'eo_tokenizer.rl')
-rw-r--r-- | eo_tokenizer.rl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl index de12f33..4d2bb57 100644 --- a/eo_tokenizer.rl +++ b/eo_tokenizer.rl @@ -126,19 +126,19 @@ _eo_tokenizer_class_get(Eo_Tokenizer *toknz, char *p) action end_inherit_name { const char *base = _eo_tokenizer_token_get(toknz, fpc); - toknz->tmp_kls->inherits = eina_list_append(toknz->tmp_kls->inherits, base); + toknz->tmp.kls->inherits = eina_list_append(toknz->tmp.kls->inherits, base); } action end_class { - INF("end class:%s", toknz->tmp_kls->name); - toknz->classes= eina_list_append(toknz->classes, toknz->tmp_kls); - toknz->tmp_kls = NULL; + INF("end class:%s", toknz->tmp.kls->name); + toknz->classes= eina_list_append(toknz->classes, toknz->tmp.kls); + toknz->tmp.kls = NULL; toknz->current_nesting--; fgoto main; } action end_eo_comment { - toknz->tmp_kls->comment = _eo_tokenizer_token_get(toknz, fpc-1); + toknz->tmp.kls->comment = _eo_tokenizer_token_get(toknz, fpc-1); } inherit_item = alpha_u+ >save_fpc %end_inherit_name ignore*; @@ -157,13 +157,13 @@ _eo_tokenizer_class_get(Eo_Tokenizer *toknz, char *p) # TOP LEVEL action begin_class { - INF("begin class: %s", toknz->tmp_kls->name); + INF("begin class: %s", toknz->tmp.kls->name); toknz->current_nesting++; fgoto tokenize_class; } action end_class_name { - toknz->tmp_kls = _eo_tokenizer_class_get(toknz, fpc); + toknz->tmp.kls = _eo_tokenizer_class_get(toknz, fpc); } begin_class = alpha_u+ >save_fpc %end_class_name ignore* begin_def; |