Fix a bug in DOT decoder.
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -74,7 +74,10 @@ new_decode_state (enum dot_decode_state state, int c) | ... | @@ -74,7 +74,10 @@ new_decode_state (enum dot_decode_state state, int c) |
74 | { | 74 | { |
75 | case '.': | 75 | case '.': |
76 | return dot_decode_dot; | 76 | return dot_decode_dot; |
77 | case '\n': | ||
78 | return dot_decode_lf; | ||
77 | } | 79 | } |
80 | break; | ||
78 | 81 | ||
79 | case dot_decode_dot: | 82 | case dot_decode_dot: |
80 | switch (c) | 83 | switch (c) | ... | ... |
-
Please register or sign in to post a comment