parser: Check for eval error before memory reference parsing
commit5c0b082c9289d78577168ad7eaf13b56c58deb5c
authorCyrill Gorcunov <gorcunov@gmail.com>
Sat, 22 Nov 2014 15:20:29 +0000 (22 18:20 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 22 Nov 2014 15:20:29 +0000 (22 18:20 +0300)
tree775895c08dceed3379286cbc817b24cdb881b536
parente184c0b0cb8c886428975a406f20893696651ede
parser: Check for eval error before memory reference parsing

If there is an error in evaluate() happened then @value
is NULL so that we better fail with error report instead
of trying processing it.

http://bugzilla.nasm.us/show_bug.cgi?id=3392290

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
parser.c