Fix a bug existed in Makefile.py which allows single character appearring in words list.
This commit is contained in:
parent
614bed8bb4
commit
f575221376
3 changed files with 43 additions and 799 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -81,7 +81,8 @@ def parserCore( fp, pos, beginmark = None, endmark = None ):
|
|||
elems = line.split()
|
||||
if len( elems ) < 2:
|
||||
continue
|
||||
elif len( elems[0] ) > 1:
|
||||
elif len( elems[0] ) > 1 and \
|
||||
len( elems[pos] ) > 1: # words only
|
||||
mlist.add( elems[pos] )
|
||||
return mlist
|
||||
|
||||
|
|
|
|||
|
|
@ -3,3 +3,4 @@
|
|||
彞
|
||||
余
|
||||
𫗭
|
||||
𪨧
|
||||
|
|
|
|||
Loading…
Reference in a new issue