mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-04-02 16:41:52 +01: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
|
continue
|
||||||
|
|
||||||
# detect the star command
|
# 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 not mstar:
|
||||||
if "from" in stardata:
|
if "from" in stardata:
|
||||||
LoadSurvexLineLeg(survexblock, stardata, sline, comment)
|
LoadSurvexLineLeg(survexblock, stardata, sline, comment)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user