equal
deleted
inserted
replaced
151 case _ => |
151 case _ => |
152 } |
152 } |
153 |
153 |
154 val syntax = |
154 val syntax = |
155 if (previous.is_init || updated_keywords) |
155 if (previous.is_init || updated_keywords) |
156 (base_syntax /: nodes.entries)({ case (syn, (_, node)) => (syn /: node.keywords)(_ + _) }) |
156 (base_syntax /: nodes.entries) { case (syn, (_, node)) => syn.add_keywords(node.header) } |
157 else previous.syntax |
157 else previous.syntax |
158 |
158 |
159 val reparse = |
159 val reparse = |
160 if (updated_imports || updated_keywords) |
160 if (updated_imports || updated_keywords) |
161 nodes.descendants(doc_edits.iterator.map(_._1).toList) |
161 nodes.descendants(doc_edits.iterator.map(_._1).toList) |