Closed Bug 1189841 Opened 9 years ago Closed 9 years ago

error recovery in parser

Categories

(L20n :: Python Library, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: Pike)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1184498 +++

I've got an idea on how to get to better error recovery, I'll take a stab at that today.

Basically, when creating the JunkEntry, search the end starting from _curWhatever rather+1 than pos.

Now, for python.
Also had to rewrite the test for a comment inside an entry, as that's two errors now.
Assignee: nobody → l10n
Status: NEW → ASSIGNED
Attachment #8641756 - Flags: review?(gandalf)
Comment on attachment 8641756 [details] [review]
port the JunkEntry logic to python-l20n

r+ happened.
Attachment #8641756 - Flags: review?(gandalf) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: