Skip to content

Commit

Permalink
bugfix for fixing a bug in a bugfix
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@330 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Oct 8, 2008
1 parent 23c9a2c commit a262bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topics/extraction/html2bgf/html2bgf.py
Expand Up @@ -300,7 +300,7 @@ def readGrammar(fn):
a,b=parseLine(line)
if a:
# non-empty line
if len(a)==2 and a[-1]=='$$$$$':
if len(a)==2 and (a[-1]=='$$$$$' or (a[-1]==':' and a[0][0].isalpha())):
# new definition
if choices:
# flush the current one
Expand Down

0 comments on commit a262bfd

Please sign in to comment.