Changeset 7f965c4 in serd


Ignore:
Timestamp:
Sep 23, 2017, 6:59:22 AM (8 weeks ago)
Author:
David Robillard <d@…>
Branches:
master, serd1
Children:
f8c8f7e
Parents:
3344262
git-author:
David Robillard <d@…> (09/23/17 05:39:59)
git-committer:
David Robillard <d@…> (09/23/17 06:59:22)
Message:

Remove duplicated code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/reader.c

    r3344262 r7f965c4  
    16611661
    16621662static bool
    1663 read_turtleDoc(SerdReader* reader)
    1664 {
    1665     while (!reader->eof) {
    1666         TRY_RET(read_statement(reader));
    1667     }
    1668     return reader->status <= SERD_FAILURE;
    1669 }
    1670 
    1671 static bool
    1672 read_trigDoc(SerdReader* reader)
     1663read_turtleTrigDoc(SerdReader* reader)
    16731664{
    16741665    while (!reader->eof) {
     
    17371728    switch (reader->syntax) {
    17381729    case SERD_NQUADS: return read_nquadsDoc(reader);
    1739     case SERD_TRIG:   return read_trigDoc(reader);
    1740     default:          return read_turtleDoc(reader);
     1730    default:          return read_turtleTrigDoc(reader);
    17411731    }
    17421732}
Note: See TracChangeset for help on using the changeset viewer.