forked from expo/troggle
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
|
continue
|
||||||
|
|
||||||
# detect the star command
|
# 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 not mstar:
|
||||||
if "from" in stardata:
|
if "from" in stardata:
|
||||||
LoadSurvexLineLeg(survexblock, stardata, sline, comment)
|
LoadSurvexLineLeg(survexblock, stardata, sline, comment)
|
||||||
|
Loading…
Reference in New Issue
Block a user