Getting the next word respects quoting and escaping.
authorDavid Neto <dneto@google.com>
Tue, 25 Aug 2015 18:21:13 +0000 (14:21 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:52:01 +0000 (12:52 -0400)
commite7ee4c4476d843966bf8a19fa0efbb117ad8da69
treea18c51eb5c0986a3eaa3dec6f45dac9626b56b5c
parent7951050a952efc464a16e34cbedf3af162655fa0
Getting the next word respects quoting and escaping.

Use double quotes (").  They can be interspersed with
other whitespace characters, just like shell quoting.

A backslash (\) always escapes the next character.

The end of the stream always terminates the word.

Add AutoText struct to unit test utilities, to easily
make spv_text_t values and reference them as spv_text values.
source/text.cpp
source/text.h
test/TextWordGet.cpp
test/UnitSPIRV.h