X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fkeyword.cc;h=378ad4e1683cfc9057b185d5647ef153faace639;hb=26aa7a02d8cad410c4b496b87891653edbba771a;hp=de6aca9e495cd7a6c6496384a0c3d7e2d6b377ca;hpb=528e7b6840aa4bd8e23f69c3f6842b124cee26ae;p=lilypond.git diff --git a/lily/keyword.cc b/lily/keyword.cc index de6aca9e49..378ad4e168 100644 --- a/lily/keyword.cc +++ b/lily/keyword.cc @@ -1,13 +1,14 @@ /* keyword.cc -- keywords and identifiers - */ -#include -#include +*/ + #include "keyword.hh" +#include +#include /* for qsort */ -int tabcmp (Keyword_ent const &p1, Keyword_ent const &p2) +int tabcmp (Keyword_ent const &p1, Keyword_ent const &p2) { return strcmp (p1.name_, p2.name_); } @@ -25,8 +26,8 @@ Keyword_table::Keyword_table (Keyword_ent *tab) int Keyword_table::lookup (char const *s) const { - Keyword_ent e ; - e.name_ = s; + Keyword_ent e; + e.name_ = s; int idx = binary_search (table_, e, tabcmp); if (idx >= 0) return table_[idx].tokcode_;