comparison 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
comparison
equal deleted inserted replaced
321:8c569fbe60e4 322:44f336460c2a
1 1
2 %tokens ':' ';' '(' ')' ',' template id number '%%' '%terminal' 2 %tokens ':' ';' '(' ')' ',' template id number '%%' '%terminal' header
3 3
4 %% 4 %%
5 5
6 burgdef: directives '%%' rules; 6 burgdef: header '%%' directives '%%' rules { self.system.header_lines = $1.val };
7 7
8 directives: 8 directives:
9 | directives directive; 9 | directives directive;
10 10
11 directive: termdef; 11 directive: termdef;