Mercurial > lcfOS
diff python/burg.x @ 322:44f336460c2a
Half of use of burg spec for arm
author | Windel Bouwman |
---|---|
date | Mon, 27 Jan 2014 19:58:07 +0100 |
parents | 8d07a4254f04 |
children | 818be710e13d |
line wrap: on
line diff
--- a/python/burg.x Sun Jan 19 18:48:45 2014 +0100 +++ b/python/burg.x Mon Jan 27 19:58:07 2014 +0100 @@ -1,9 +1,9 @@ -%tokens ':' ';' '(' ')' ',' template id number '%%' '%terminal' +%tokens ':' ';' '(' ')' ',' template id number '%%' '%terminal' header %% -burgdef: directives '%%' rules; +burgdef: header '%%' directives '%%' rules { self.system.header_lines = $1.val }; directives: | directives directive;