aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/mate_grammar.lemon
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2005-12-12 01:27:51 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2005-12-12 01:27:51 +0000
commit98373635b3962423dc6ac3f765afa4f0605e6ffb (patch)
tree83b3a965c5d0ffaed098eacd426ee23dc9592369 /plugins/mate/mate_grammar.lemon
parente17d206357c08088d769aca3911662c758dbeaf7 (diff)
Done is not needed anymore;
in Pdus transforms go before Criteria (because they are evaluated before) svn path=/trunk/; revision=16761
Diffstat (limited to 'plugins/mate/mate_grammar.lemon')
-rw-r--r--plugins/mate/mate_grammar.lemon7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/mate/mate_grammar.lemon b/plugins/mate/mate_grammar.lemon
index 78aa241ea1..fe7904b24b 100644
--- a/plugins/mate/mate_grammar.lemon
+++ b/plugins/mate/mate_grammar.lemon
@@ -245,15 +245,16 @@ static gchar* recolonize(mate_config* mc, gchar* s) {
%type avp_oneoff { gchar* }
-mate_config ::= decls DONE_KW SEMICOLON.
+mate_config ::= decls.
decls ::= decls decl.
-decls ::= decl.
+decls ::= .
decl ::= pdu_decl.
decl ::= gop_decl.
decl ::= gog_decl.
decl ::= transform_decl.
+decl ::= DONE_KW SEMICOLON.
/******************************************* TRANSFORM
*/
@@ -330,11 +331,11 @@ pdu_decl ::=
OPEN_BRACE
payload_statement(Payload)
extraction_statements(Extraction)
+ transform_list_statement(Transform)
criteria_statement(Criteria)
pdu_drop_unassigned_statement(DropUnassigned)
discard_pdu_data_statement(DistcardPduData)
last_extracted_statement(LastExtracted)
- transform_list_statement(Transform)
CLOSE_BRACE SEMICOLON.
{