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
|
||||
|
||||
# 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