Skip to content

Commit

Permalink
Rename config_file -> command_file.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 314433822
  • Loading branch information
hzeller committed Jun 3, 2020
1 parent 44f2cc8 commit 88088bb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions common/analysis/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ cc_library(
)

genlex(
name = "config_file_lex",
src = "config_file.lex",
out = "config_file.yy.cc",
name = "command_file_lex",
src = "command_file.lex",
out = "command_file.yy.cc",
)

cc_library(
name = "config_file_lexer",
name = "command_file_lexer",
srcs = [
"config_file.yy.cc",
"config_file_lexer.cc",
"command_file.yy.cc",
"command_file_lexer.cc",
],
hdrs = [
"config_file_lexer.h",
"command_file_lexer.h",
"lint_waiver.h",
],
copts = ["-Wno-implicit-fallthrough"],
Expand All @@ -83,7 +83,7 @@ cc_library(
copts = ["-fexceptions"],
features = ["-use_header_modules"], # precompiled headers incompatible with -fexceptions.
deps = [
":config_file_lexer",
":command_file_lexer",
"//common/strings:comment_utils",
"//common/strings:line_column_map",
"//common/text:text_structure",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

%{
#define _COMMANDFILE_FLEXLEXER_H_
#include "common/analysis/config_file_lexer.h"
#include "common/analysis/command_file_lexer.h"

#define yy_set_top_state(state) { yy_pop_state(); yy_push_state(state); }
%}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "common/analysis/config_file_lexer.h"
#include "common/analysis/command_file_lexer.h"

#include "absl/strings/string_view.h"
#include "common/analysis/lint_waiver.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion common/analysis/lint_waiver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "common/analysis/config_file_lexer.h"
#include "common/analysis/command_file_lexer.h"
#include "common/strings/comment_utils.h"
#include "common/strings/line_column_map.h"
#include "common/text/text_structure.h"
Expand Down

0 comments on commit 88088bb

Please sign in to comment.