summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2018-04-14 16:13:21 +0100
committerSam Wenham <sam@wenhams.co.uk>2018-04-14 16:13:21 +0100
commite6b12e99e63fc290f491b98b6520a13cd005052a (patch)
tree6eccae97d80ffc2bb3141b769c3198566000326e /parsers
parentf60df05aabf20d331ee0281ed1a64f9318d583d9 (diff)
downloadtroggle-e6b12e99e63fc290f491b98b6520a13cd005052a.tar.gz
troggle-e6b12e99e63fc290f491b98b6520a13cd005052a.tar.bz2
troggle-e6b12e99e63fc290f491b98b6520a13cd005052a.zip
Add ref as a valid survex command to prevent errors
Diffstat (limited to 'parsers')
-rw-r--r--parsers/survex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/survex.py b/parsers/survex.py
index ed70a4b..0c108ac 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -206,7 +206,7 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines):
survexblock.MakeSurvexStation(line.split()[0])
else:
- if not cmd in [ "sd", "include", "units", "entrance", "data", "flags", "title", "export", "instrument", "calibrate", "set", "infer", "alias" ]:
+ if not cmd in [ "sd", "include", "units", "entrance", "data", "flags", "title", "export", "instrument", "calibrate", "set", "infer", "alias", "ref" ]:
print ("Unrecognised command in line:", cmd, line, survexblock)