Fix bug in syntax parser of GET DATA /TYPE=TXT
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 21 Apr 2016 10:39:36 +0000 (12:39 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 21 Apr 2016 10:39:36 +0000 (12:39 +0200)
commit88f1d611ba3bdb895e7619bf7ab341e4756cd419
tree93cba72c89daedec461010c5ecb5b0c746c75701
parentfe846c222cb08170d95b57d7b8b335fb0c44e60c
Fix bug in syntax parser of GET DATA /TYPE=TXT

Fixed a bug which manifested itself when GET DATA /TYPE=TXT was
passed a variable name which happened also to be a token identifier.
The actual bug might also have caused other ill effects, but seems
to have been masked.

Reported-by: Rob L
src/language/data-io/get-data.c
src/language/lexer/format-parser.c
tests/language/data-io/get-data-txt.at