diff options
author | David Beazley <dave@dabeaz.com> | 2007-02-17 15:29:00 +0000 |
---|---|---|
committer | David Beazley <dave@dabeaz.com> | 2007-02-17 15:29:00 +0000 |
commit | dd12e8f8b35e809f627c3cb00814470d828b72cb (patch) | |
tree | 5dc7b1a8a3ae681457591b7211dd0c24c3f86563 /test | |
parent | 585ca0d17ab4f1236ba3094baa236dc775ba4b34 (diff) | |
download | ply-dd12e8f8b35e809f627c3cb00814470d828b72cb.tar.gz |
test output
Diffstat (limited to 'test')
-rw-r--r-- | test/lex_ignore.exp | 2 | ||||
-rw-r--r-- | test/lex_re1.exp | 2 | ||||
-rw-r--r-- | test/lex_re2.exp | 2 | ||||
-rw-r--r-- | test/lex_re3.exp | 2 | ||||
-rw-r--r-- | test/lex_state1.exp | 2 | ||||
-rw-r--r-- | test/lex_state2.exp | 2 | ||||
-rw-r--r-- | test/lex_state3.exp | 2 | ||||
-rw-r--r-- | test/lex_state4.exp | 2 | ||||
-rw-r--r-- | test/lex_state5.exp | 2 | ||||
-rw-r--r-- | test/lex_state_norule.exp | 2 | ||||
-rw-r--r-- | test/lex_state_try.exp | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/test/lex_ignore.exp b/test/lex_ignore.exp index 85e2961..466ce19 100644 --- a/test/lex_ignore.exp +++ b/test/lex_ignore.exp @@ -1,6 +1,6 @@ ./lex_ignore.py:20: Rule 't_ignore' must be defined as a string. Traceback (most recent call last): - File "./lex_ignore.py", line 29, in ? + File "./lex_ignore.py", line 29, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_re1.exp b/test/lex_re1.exp index b9e621c..ef8ba98 100644 --- a/test/lex_re1.exp +++ b/test/lex_re1.exp @@ -1,6 +1,6 @@ lex: Invalid regular expression for rule 't_NUMBER'. unbalanced parenthesis Traceback (most recent call last): - File "./lex_re1.py", line 25, in ? + File "./lex_re1.py", line 25, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_re2.exp b/test/lex_re2.exp index 7ba89b4..2e9cc73 100644 --- a/test/lex_re2.exp +++ b/test/lex_re2.exp @@ -1,6 +1,6 @@ lex: Regular expression for rule 't_PLUS' matches empty string. Traceback (most recent call last): - File "./lex_re2.py", line 25, in ? + File "./lex_re2.py", line 25, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_re3.exp b/test/lex_re3.exp index 7cdcae4..1205372 100644 --- a/test/lex_re3.exp +++ b/test/lex_re3.exp @@ -1,7 +1,7 @@ lex: Invalid regular expression for rule 't_POUND'. unbalanced parenthesis lex: Make sure '#' in rule 't_POUND' is escaped with '\#'. Traceback (most recent call last): - File "./lex_re3.py", line 27, in ? + File "./lex_re3.py", line 27, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_state1.exp b/test/lex_state1.exp index 8b58050..be59cbf 100644 --- a/test/lex_state1.exp +++ b/test/lex_state1.exp @@ -1,6 +1,6 @@ lex: states must be defined as a tuple or list. Traceback (most recent call last): - File "./lex_state1.py", line 38, in ? + File "./lex_state1.py", line 38, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_state2.exp b/test/lex_state2.exp index 11c33a7..241779c 100644 --- a/test/lex_state2.exp +++ b/test/lex_state2.exp @@ -1,7 +1,7 @@ lex: invalid state specifier 'comment'. Must be a tuple (statename,'exclusive|inclusive') lex: invalid state specifier 'example'. Must be a tuple (statename,'exclusive|inclusive') Traceback (most recent call last): - File "./lex_state2.py", line 38, in ? + File "./lex_state2.py", line 38, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_state3.exp b/test/lex_state3.exp index 2c3442c..9495ad5 100644 --- a/test/lex_state3.exp +++ b/test/lex_state3.exp @@ -1,7 +1,7 @@ lex: state name 1 must be a string lex: No rules defined for state 'example' Traceback (most recent call last): - File "./lex_state3.py", line 40, in ? + File "./lex_state3.py", line 40, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_state4.exp b/test/lex_state4.exp index 7497a47..9a2deed 100644 --- a/test/lex_state4.exp +++ b/test/lex_state4.exp @@ -1,6 +1,6 @@ lex: state type for state comment must be 'inclusive' or 'exclusive' Traceback (most recent call last): - File "./lex_state4.py", line 39, in ? + File "./lex_state4.py", line 39, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_state5.exp b/test/lex_state5.exp index e9e43e8..229c6c4 100644 --- a/test/lex_state5.exp +++ b/test/lex_state5.exp @@ -1,6 +1,6 @@ lex: state 'comment' already defined. Traceback (most recent call last): - File "./lex_state5.py", line 40, in ? + File "./lex_state5.py", line 40, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_state_norule.exp b/test/lex_state_norule.exp index a8ff4ca..8cb1f04 100644 --- a/test/lex_state_norule.exp +++ b/test/lex_state_norule.exp @@ -1,6 +1,6 @@ lex: No rules defined for state 'example' Traceback (most recent call last): - File "./lex_state_norule.py", line 40, in ? + File "./lex_state_norule.py", line 40, in <module> lex.lex() File "../ply/lex.py", line 758, in lex raise SyntaxError,"lex: Unable to build lexer." diff --git a/test/lex_state_try.exp b/test/lex_state_try.exp index 65f2e38..11768b8 100644 --- a/test/lex_state_try.exp +++ b/test/lex_state_try.exp @@ -2,6 +2,6 @@ (PLUS,'+',1,2) (NUMBER,'4',1,4) Entering comment state -comment body LexToken(comment_body_part,'This is a comment */',1,9) +comment body LexToken(body_part,'This is a comment */',1,9) (PLUS,'+',1,30) (NUMBER,'10',1,32) |