|
@ -85,10 +85,11 @@ def processSXD(filename): |
|
|
type = data[0] |
|
|
type = data[0] |
|
|
i = 1 |
|
|
i = 1 |
|
|
idx = index() |
|
|
idx = index() |
|
|
while data[i].startswith('%'): |
|
|
if len(data) > 1: |
|
|
keywords = keywordPattern.match(data[i]).groups() |
|
|
while data[i].startswith('%'): |
|
|
idx.keyword(keywords[0],keywords[1]) |
|
|
keywords = keywordPattern.match(data[i]).groups() |
|
|
i += 1 |
|
|
idx.keyword(keywords[0],keywords[1]) |
|
|
|
|
|
i += 1 |
|
|
idx.compileKeywords() |
|
|
idx.compileKeywords() |
|
|
for i in range(i,len(data),3): |
|
|
for i in range(i,len(data),3): |
|
|
entry = processSXDEntry(data[i:i+3]) |
|
|
entry = processSXDEntry(data[i:i+3]) |
|
|