History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-673
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Doug H
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

parser issues with semicolons and newlines

Created: 25/Feb/06 12:18 PM   Updated: 25/Feb/06 12:18 PM
Component/s: Parser
Affects Version/s: 0.7.5
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
Related to BOO-496, the boo parser doesn't distinguish between semicolons and newlines. It also doesn't distinguish single from multiple semicolons. It allows code like below.
It needs some rewriting to clean things up after BOO-496 is committed.

namespace CompactStatements;;;;;;;import System;import System.IO;

class C:;""" a docstring"""

def doit():;
print "ok"

def doit2():;"""another docstring""";
pass

def doit4():
print "ok";;;;;;;;;; //not allowed in python

print "ok"



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.