diff extensions/test_app/ta_conf.y @ 1230:992437a90bda

Enable mix of short and long messages in test_app
author Sebastien Decugis <sdecugis@freediameter.net>
date Thu, 20 Jun 2013 11:01:19 +0800
parents c2fbaf2985f4
children
line wrap: on
line diff
--- a/extensions/test_app/ta_conf.y	Thu Jun 20 10:20:29 2013 +0800
+++ b/extensions/test_app/ta_conf.y	Thu Jun 20 11:01:19 2013 +0800
@@ -128,6 +128,7 @@
 %token 		USER_NAME
 %token 		SIGNAL
 %token		BENCH
+%token		MIXEDSIZES
 
 /* Tokens and types for routing table definition */
 /* A (de)quoted string (malloc'd in lex parser; it must be freed after use) */
@@ -155,6 +156,7 @@
 			| conffile usrname
 			| conffile signal
 			| conffile bench
+			| conffile mix
 			;
 
 vendor:			VENDOR_ID '=' INTEGER ';'
@@ -211,6 +213,12 @@
 			}
 			;
 
+mix:			MIXEDSIZES ';'
+			{
+				ta_conf->mode |= MODE_MIXSIZE;
+			}
+			;
+			
 dstrealm:		DEST_REALM '=' QSTRING ';'
 			{
 				free(ta_conf->dest_realm);
"Welcome to our mercurial repository"