Fix the syntax style to have a space between do and {.
}
// populate the buffer
- do{
+ do {
if (buffer->size <= size) {
f_resize_dynamic_string(status, (*buffer), size);
quoted = buffer->string[input->start];
input->start++;
} else if (buffer->string[input->start] == f_fss_delimit_slash) {
- do{
+ do {
++input->start;
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
// a dynamically populated location of all delimits to apply
f_string_lengths delimits = f_string_lengths_initialize;
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_object_return_on_overflow((*buffer), (*input), (*found), f_none_on_eos, f_none_on_stop)
found->array[found->used].start = input->start;
// search for valid content
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_content_return_on_overflow((*buffer), (*input), (*found), f_none_on_eos, f_none_on_stop)
// identify where the object ends
if (quoted == f_eos) {
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_object_return_on_overflow((*buffer), (*input), (*found), f_error_on_eos, f_error_on_stop)
f_string_length quote_location = f_string_length_initialize;
// the quote must end before the opener begins, in this case the colon ':', so a quoted object would look like: "quoted object":\n
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_object_return_on_overflow((*buffer), (*input), (*found), f_error_on_eos, f_error_on_stop)
f_string_length quote_delimit = f_string_length_initialize;
// search until stop point, end of string, or until a valid basic list object is found
- do{
+ do {
if (has_quote_delimit) {
has_quote_delimit = f_false;
}
// identify where the potential object ends
if (quoted == f_eos) {
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_content_return_on_overflow((*buffer), (*input), (*found), f_none_on_eos, f_none_on_stop)
} while (f_true);
} else {
// the quote must end before the opener begins, in this case the colon ':', so a quoted object would look like: "quoted object":\n
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_content_return_on_overflow((*buffer), (*input), (*found), f_unterminated_group_on_eos, f_unterminated_group_on_stop)
quoted = buffer->string[input->start];
input->start++;
} else if (buffer->string[input->start] == f_fss_delimit_slash) {
- do{
+ do {
++input->start;
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
// a dynamically populated location of all delimits to apply
f_string_lengths delimits = f_string_lengths_initialize;
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_object_return_on_overflow((*buffer), (*input), (*found), f_none_on_eos, f_none_on_stop)
found->array[found->used].start = input->start;
// this inner loop should read until whitespace is found then mark the end of a specific content field
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_content_return_on_overflow((*buffer), (*input), (*found), f_none_on_eos, f_none_on_stop)
// handle delimited quotes, single quotes, and double quotes
if (buffer->string[input->start] == f_fss_delimit_slash) {
- do{
+ do {
f_string_length first_slash = input->start;
++input->start;
// when quoted is null, then spaces will end the content, otherwise the quote defined in quoted will end the content (or a newline)
if (quoted == f_eos) {
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_content_return_on_overflow((*buffer), (*input), (*found), f_none_on_eos, f_none_on_stop)
++input->start;
} while (f_true);
} else {
- do{
+ do {
fl_macro_fss_skip_past_delimit_placeholders((*buffer), (*input))
fl_macro_fss_content_return_on_overflow((*buffer), (*input), (*found), f_none_on_eos, f_none_on_stop)