diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-12-02 17:11:58 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-12-02 17:11:58 -0800 |
commit | 1f7e3c056ce0ea71e1337579b24e8fd1ad26abac (patch) | |
tree | cebdec305552bdf180f3f0db5518a69c2a086857 /054dilated_reagent.cc | |
parent | f8997ec06c0cdda1a16c5d99f96c447ce6809185 (diff) | |
download | mu-1f7e3c056ce0ea71e1337579b24e8fd1ad26abac.tar.gz |
2614 - still fixing bugs with missing '['
When skipping past some text (usually whitespace, but also commas and comments) I need to always be aware of whether it's ok to switch to the next line or not.
Diffstat (limited to '054dilated_reagent.cc')
-rw-r--r-- | 054dilated_reagent.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/054dilated_reagent.cc b/054dilated_reagent.cc index ac40f049..6788becc 100644 --- a/054dilated_reagent.cc +++ b/054dilated_reagent.cc @@ -32,7 +32,7 @@ bool start_of_dilated_reagent(istream& in) { if (in.peek() != '{') return false; long long int pos = in.tellg(); in.get(); // slurp '{' - skip_whitespace(in); + skip_whitespace_but_not_newline(in); char next = in.peek(); in.seekg(pos); return next != '\n'; |