wallscavesurvey / walls

Walls cave survey software
https://www.texasspeleologicalsurvey.org/software/walls/tsswalls.php
17 stars 10 forks source link

Walls accepts # in inline note #26

Open jedwards1211 opened 5 years ago

jedwards1211 commented 5 years ago

I had thought the parser stops parsing an inline note at #, but the following compiles just fine and does create a foo segment:

#FIX    A   0   0   0   /test #14 #segment foo

Oddly enough, using something like #sege produces the confusing and untrue error message "Use only #SEG on vector lines".

Note:#FLAG directive lines allow #seg, #segment, etc. in their inline notes, and don't interpret it as an inline segment directive.