Revision 9a09a64b

View differences:

conf/cf-lex.l
139 139
  return CLI_MARKER;
140 140
}
141 141

  
142
[={}:;,()+*/%-<>~\[\]] {
142
[={}:;,()+*/%-<>~\[\]?] {
143 143
  return yytext[0];
144 144
}
145 145

  
filter/config.Y
277 277

  
278 278
bgp_one:
279 279
   NUM { $$ = $1; }
280
 | '*' { $$ = PM_ANY; }
280
 | '?' { $$ = PM_ANY; }
281 281
 ;
282 282

  
283 283
bgp_path: 
filter/test.conf
45 45
	print "4 = ", p2.len;
46 46
	p2 = prepend( p2, 5 );
47 47
	print "Should be false: ", p2 ~ p;
48
	print "Should be true: ", p2 ~ / * 4 3 2 1 /, p2, / * 4 3 2 1 /;
49
	print "Should be true: ", p2 ~ / * 4 3 * 1 /, p2, / * 4 3 * 1 /;
48
	print "Should be true: ", p2 ~ / ? 4 3 2 1 /, p2, / ? 4 3 2 1 /;
49
	print "Should be true: ", p2 ~ / ? 4 3 ? 1 /, p2, / ? 4 3 ? 1 /;
50 50
	print "5 = ", p2.len;
51 51

  
52 52
	l = - empty -;

Also available in: Unified diff