forked from expo/troggle
Fix survex parser to allow whitespace between * and command (as survex
does).
This commit is contained in:
parent
8cad25ecc4
commit
9d9fad2ae4
@ -116,7 +116,7 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines):
|
||||
continue
|
||||
|
||||
# detect the star command
|
||||
mstar = re.match('\s*\*(\w+)\s*(.*?)\s*(?:;.*)?$', sline)
|
||||
mstar = re.match('\s*\*\s*(\w+)\s*(.*?)\s*(?:;.*)?$', sline)
|
||||
if not mstar:
|
||||
if "from" in stardata:
|
||||
LoadSurvexLineLeg(survexblock, stardata, sline, comment)
|
||||
|
Loading…
Reference in New Issue
Block a user