Eolian: fix properties and methods scope support
authorJérémy Zurcher <jeremy@asynk.ch>
Tue, 22 Apr 2014 18:24:27 +0000 (20:24 +0200)
committerJérémy Zurcher <jeremy@asynk.ch>
Tue, 22 Apr 2014 18:24:27 +0000 (20:24 +0200)
commit010ae10d60e78a26eef86d77c09966e3df9546d0
tree9ad8abe7a3a4bd85300abe7fbc95d7e31d8ce1c2
parent1ed6e2cf9cbd87948232f7554d91f31711083761
Eolian: fix properties and methods scope support

define scope keywords 'protected' and 'public'
disallow scope keywords as property or method name
use move_ts action to move token start after scope modifier if found
use end_property_scope and end_method_scope actions to handle it
src/lib/eolian/eo_lexer.c
src/lib/eolian/eo_lexer.rl