File: Thread.grammar_new

package info (click to toggle)
libmail-imapclient-perl 2.2.9%2Bdeb-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 680 kB
  • ctags: 179
  • sloc: perl: 3,914; makefile: 56
file content (19 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Atoms:

NUMBER: /\d+/

# Rules:

threadmember:	NUMBER    { $return = $item{NUMBER} ; }	|
		thread 	  { $return = $item{thread} ; } 

thread:	"(" threadmember(s) ")"
	{
		$return = $item{'threadmember(s)'}||undef;	
	}

# Start:
start: /^\* THREAD /i thread(s?) {
	$return=$item{'thread(s?)'}||undef;
}