zephyr/lib
Leandro Pereira 95ec49cb70 lib: json: Simplify lexing of "true", "false", and "null" tokens
Roll the loop in an accept_run() function and use it to match "rue" and
"alse" depending on the first character of the token.  Use that to lex
"ull" after finding "n" as well.  This reduces the code slightly.

Jira: ZEP-1607
Change-Id: Iec8ff6ae2fb79e7fe65d476d1574c5943d23e14f
Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-03-25 13:11:52 +00:00
..
json lib: json: Simplify lexing of "true", "false", and "null" tokens 2017-03-25 13:11:52 +00:00
libc libc: attribute minimal libc printf style functions with __printf_like 2017-03-02 08:46:30 -06:00
Kbuild lib: Add minimal JSON library 2017-03-09 20:33:45 +02:00
Kconfig lib: Add minimal JSON library 2017-03-09 20:33:45 +02:00
Makefile net: Restructure network protocols 2017-01-02 10:03:19 +01:00