Juho Hiltunen
54d93cf2b4
code cleanup: move ssml reference handling logic to a new function ParseSsmlReference()
It's unclear why c2 needs to be set after an entity reference.
5 years ago
Juho Hiltunen
75d66c89d0
code cleanup: Move self_closing checks to ProcessSsmlTag()
This is a bit slower since we don't pass n_xml_buf as an argument but
rather get it with a call to wcslen. It is much cleaner though, since
the name ProcessSsmlTag() implies that all processing should be done
there.
5 years ago
Juho Hiltunen
706df97b20
headers: add new file readclause.h with declarations of functions in readclause.c
7 years ago
Juho Hiltunen
738492100a
make all headers (almost) self-contained by using include guards and #include statements within headers
7 years ago
Reece H. Dunn
b23f475e1a
ssml.h: Reformat the header file.
7 years ago
Reece H. Dunn
d47e48a377
ssml: Update the copyright notice.
7 years ago
Reece H. Dunn
017c6a9383
ssml.h: Add a copyright header and include guards.
7 years ago
Reece H. Dunn
49b97105e5
ssml: Move ssmltags to ssml.c where it is used.
This avoids 'unused parameter' errors in readclause.c.
7 years ago
Juho Hiltunen
985e7d5b39
set functions in ssml.c static.
The only entry point in the file is ProcessSsmlTags().
7 years ago
Juho Hiltunen
a47ff4f41d
move ProcessSsmlTag() from readclause.to to ssml.c
use parameters instead of globals
7 years ago
Juho Hiltunen
a6b1896ce3
move SetProsodyParameter()
7 years ago
Juho Hiltunen
6c4d22b6d2
move ReplaceKeyName()
7 years ago
Juho Hiltunen
21e391b631
move GetSsmlAttributes()
7 years ago
Juho Hiltunen
d6ed3a3320
move PopParamStack()
7 years ago
Juho Hiltunen
b793920ff7
move PushParamStack()
7 years ago
Juho Hiltunen
2b10dba10f
move ProcessParamStack()
7 years ago
Juho Hiltunen
da125f1a1b
move GetVoiceFromStack()
7 years ago
Juho Hiltunen
16a5b5d15c
move attr_prosody_value()
7 years ago
Juho Hiltunen
f00d5798de
add ssml.h for defines
7 years ago