diff options
author | Wookey <wookey@wookware.org> | 2014-07-01 02:12:34 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2014-07-01 02:12:34 +0100 |
commit | 9d9fad2ae40137d40ff7cf0a6976846f0a24de20 (patch) | |
tree | 9e4f338661088a6fed9cae6f4c840dba6b00c123 /parsers | |
parent | 8cad25ecc448a48dcbddf11ef295c31a4f44d819 (diff) | |
download | troggle-9d9fad2ae40137d40ff7cf0a6976846f0a24de20.tar.gz troggle-9d9fad2ae40137d40ff7cf0a6976846f0a24de20.tar.bz2 troggle-9d9fad2ae40137d40ff7cf0a6976846f0a24de20.zip |
Fix survex parser to allow whitespace between * and command (as survex
does).
Diffstat (limited to 'parsers')
-rw-r--r-- | parsers/survex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/survex.py b/parsers/survex.py index 3f490ea..e5d6e5f 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -116,7 +116,7 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines): continue # 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 "from" in stardata: LoadSurvexLineLeg(survexblock, stardata, sline, comment) |