mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-03-29 21:51:51 +00:00
Fix survex parser to allow whitespace between * and command (as survex
does).
This commit is contained in:
parent
5265acd9dc
commit
4a93790c7e
@ -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…
x
Reference in New Issue
Block a user