mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
Allow comma in starcommands (*,fix) (comma is default valid *set blank)
This commit is contained in:
parent
9d9fad2ae4
commit
963259d6e3
@ -116,7 +116,7 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines):
|
||||
continue
|
||||
|
||||
# detect the star command
|
||||
mstar = re.match('\s*\*\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