Skip to content

Commit 9f9c84a

Browse files
authored
Internals: Avoid using <tab> in the middle of lines (verilator#3913)
1 parent d80e052 commit 9f9c84a

File tree

7 files changed

+29
-29
lines changed

7 files changed

+29
-29
lines changed

Makefile.in

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
#
1616
#****************************************************************************/
1717
#
18-
# make all to compile and build Verilator.
19-
# make install to install it.
20-
# make TAGS to update tags tables.
18+
# make all to compile and build Verilator.
19+
# make install to install it.
20+
# make TAGS to update tags tables.
2121
#
2222
# make clean or make mostlyclean
2323
# Delete all files from the current directory that are normally
24-
# created by building the program. Don't delete the files that
24+
# created by building the program. Don't delete the files that
2525
# record the configuration. Also preserve files that could be made
2626
# by building, but normally aren't because the distribution comes
2727
# with them.
@@ -153,7 +153,7 @@ msg_test: all_nomsg
153153
@echo
154154

155155
.PHONY: test
156-
ifeq ($(CFG_WITH_LONGTESTS),yes) # Local... Else don't burden users
156+
ifeq ($(CFG_WITH_LONGTESTS),yes) # Local... Else don't burden users
157157
test: smoke-test test_regress
158158
# examples is part of test_regress's test_regress/t/t_a2_examples.pl
159159
# (because that allows it to run in parallel with other test_regress's)
@@ -462,7 +462,7 @@ config.status: configure
462462
./config.status --recheck
463463

464464
configure: configure.ac
465-
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
465+
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
466466
autoconf --warnings=all
467467
else
468468
autoconf
@@ -501,7 +501,7 @@ distclean maintainer-clean::
501501
TAGFILES=${srcdir}/*/*.cpp ${srcdir}/*/*.h ${srcdir}/*/*.in \
502502
${srcdir}/*.in ${srcdir}/*.pod
503503

504-
TAGS: $(TAGFILES)
504+
TAGS: $(TAGFILES)
505505
etags $(TAGFILES)
506506

507507
.PHONY: doxygen

examples/make_tracing_c/Makefile_obj

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CPPFLAGS += -DVL_DEBUG=1
3131
# Turn on some more compiler lint flags (when configured appropriately)
3232
# For testing inside Verilator, "configure --enable-ccwarn" will do this
3333
# automatically; otherwise you may want this unconditionally enabled
34-
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
34+
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
3535
USER_CPPFLAGS_WALL += -W -Werror -Wall
3636
endif
3737

examples/make_tracing_sc/Makefile_obj

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ CPPFLAGS += -Wno-deprecated
3030
# Turn on some more flags (when configured appropriately)
3131
# For testing inside Verilator, "configure --enable-ccwarn" will do this
3232
# automatically; otherwise you may want this unconditionally enabled
33-
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
33+
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
3434
USER_CPPFLAGS_WALL += -W -Werror -Wall
3535
endif
3636

include/verilated.mk.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ VK_CPPFLAGS_ALWAYS += \
6767
-DVM_TRACE_VCD=$(VM_TRACE_VCD) \
6868
$(CFG_CXXFLAGS_NO_UNUSED) \
6969

70-
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
70+
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
7171
VK_CPPFLAGS_WALL += -Wall $(CFG_CXXFLAGS_WEXTRA) -Werror
7272
endif
7373

install-sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ done
106106

107107
if [ x"$src" = x ]
108108
then
109-
echo "install: no input file specified"
109+
echo "install: no input file specified"
110110
exit 1
111111
else
112112
true
@@ -137,7 +137,7 @@ else
137137

138138
if [ x"$dst" = x ]
139139
then
140-
echo "install: no destination specified"
140+
echo "install: no destination specified"
141141
exit 1
142142
else
143143
true

src/Makefile.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ obj_dbg:
5050
.PHONY: ../bin/verilator_bin$(EXEEXT) ../bin/verilator_bin_dbg$(EXEEXT) ../bin/verilator_coverage_bin_dbg$(EXEEXT)
5151

5252
opt: ../bin/verilator_bin$(EXEEXT)
53-
ifeq ($(VERILATOR_NO_OPT_BUILD),1) # Faster laptop development... One build
53+
ifeq ($(VERILATOR_NO_OPT_BUILD),1) # Faster laptop development... One build
5454
../bin/verilator_bin$(EXEEXT): ../bin/verilator_bin_dbg$(EXEEXT)
5555
-cp -p $< $@.tmp
5656
-mv -f $@.tmp $@
@@ -70,15 +70,15 @@ dbg: ../bin/verilator_bin_dbg$(EXEEXT) ../bin/verilator_coverage_bin_dbg$(EXEEXT
7070
$(MAKE) -C obj_dbg TGT=../$@ VL_DEBUG=1 VL_VLCOV=1 -f ../Makefile_obj
7171

7272
ifneq ($(VERILATOR_NO_OPT_BUILD),1) # Faster laptop development... don't rebuild each commit
73-
ifneq ($(UNDER_GIT),) # If local git tree... else don't burden users
73+
ifneq ($(UNDER_GIT),) # If local git tree... else don't burden users
7474
GIT_CHANGE_DEP = ${srcdir}/../.git/logs/HEAD
7575
endif
7676
endif
7777

7878
prefiles::
7979
prefiles:: config_rev.h
8080
# This output goes into srcdir if locally configured, as we need to distribute it as part of the kit.
81-
config_rev.h: ${srcdir}/config_rev $(GIT_CHANGE_DEP)
81+
config_rev.h: ${srcdir}/config_rev $(GIT_CHANGE_DEP)
8282
$(PYTHON3) ${srcdir}/config_rev ${srcdir} >$@
8383

8484
# Human convenience

src/Makefile_obj.in

+14-14
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ LIBS = $(CFG_LIBS) -lm
9494

9595
CPPFLAGS += -MMD
9696
CPPFLAGS += -I. -I$(bldsrc) -I$(srcdir) -I$(incdir) -I../../include
97-
#CPPFLAGS += -DVL_LEAK_CHECKS # If running valgrind or other hunting tool
97+
#CPPFLAGS += -DVL_LEAK_CHECKS # If running valgrind or other hunting tool
9898
CPPFLAGS += -MP # Only works on recent GCC versions
99-
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
99+
ifeq ($(CFG_WITH_CCWARN),yes) # Local... Else don't burden users
100100
CPPFLAGS += -W -Wall $(CFG_CXXFLAGS_WEXTRA) $(CFG_CXXFLAGS_SRC) -Werror
101101
#CPPFLAGS += -pedantic-errors
102102
else
@@ -114,7 +114,7 @@ ifeq ($(CFG_WITH_DEFENV),yes)
114114
CPPFLAGS += -DDEFENV_SYSTEMC_ARCH=\"$(SYSTEMC_ARCH)\"
115115
CPPFLAGS += -DDEFENV_SYSTEMC_INCLUDE=\"$(SYSTEMC_INCLUDE)\"
116116
CPPFLAGS += -DDEFENV_SYSTEMC_LIBDIR=\"$(SYSTEMC_LIBDIR)\"
117-
ifeq ($(VERILATOR_ROOT),) # Use what we're given, or intuit
117+
ifeq ($(VERILATOR_ROOT),) # Use what we're given, or intuit
118118
CPPFLAGS += -DDEFENV_VERILATOR_ROOT=\"$(pkgdatadir)\"
119119
else
120120
CPPFLAGS += -DDEFENV_VERILATOR_ROOT=\"$(VERILATOR_ROOT)\"
@@ -155,7 +155,7 @@ RAW_OBJS = \
155155
V3ActiveTop.o \
156156
V3Assert.o \
157157
V3AssertPre.o \
158-
V3Ast.o \
158+
V3Ast.o \
159159
V3AstNodes.o \
160160
V3Begin.o \
161161
V3Branch.o \
@@ -323,26 +323,26 @@ V3Number_test: V3Number_test.o
323323

324324
#### Modules
325325

326-
%__gen.cpp: %.cpp $(ASTGEN) $(AST_DEFS) $(DFG_DEFS)
326+
%__gen.cpp: %.cpp $(ASTGEN) $(AST_DEFS) $(DFG_DEFS)
327327
$(PYTHON3) $(ASTGEN) $(ASTGENFLAGS) $*.cpp
328328

329329
.SECONDARY:
330330

331-
%.o: %.cpp
331+
%.o: %.cpp
332332
$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSWALL} -c $< -o $@
333-
%.o: %.c
333+
%.o: %.c
334334
$(OBJCACHE) ${CC} ${CFLAGS} ${CPPFLAGSWALL} -c $< -o $@
335335

336-
V3ParseLex.o: V3ParseLex.cpp V3Lexer.yy.cpp V3ParseBison.c
336+
V3ParseLex.o: V3ParseLex.cpp V3Lexer.yy.cpp V3ParseBison.c
337337
$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSPARSER} -c $< -o $@
338338

339-
V3ParseGrammar.o: V3ParseGrammar.cpp V3ParseBison.c
339+
V3ParseGrammar.o: V3ParseGrammar.cpp V3ParseBison.c
340340
$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSPARSER} -c $< -o $@
341341

342-
V3ParseImp.o: V3ParseImp.cpp V3ParseBison.c
342+
V3ParseImp.o: V3ParseImp.cpp V3ParseBison.c
343343
$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSPARSER} -c $< -o $@
344344

345-
V3PreProc.o: V3PreProc.cpp V3PreLex.yy.cpp
345+
V3PreProc.o: V3PreProc.cpp V3PreLex.yy.cpp
346346
$(OBJCACHE) ${CXX} ${CXXFLAGS} ${CPPFLAGSPARSER} -c $< -o $@
347347

348348
#### Generated files
@@ -366,14 +366,14 @@ V3ParseBison.c: verilog.y $(BISONPRE)
366366
@echo "If you get errors from verilog.y below, try upgrading bison to version 1.875 or newer."
367367
$(PYTHON3) $(BISONPRE) --yacc ${YACC} -d -v -o V3ParseBison.c $<
368368

369-
V3Lexer_pregen.yy.cpp: verilog.l V3ParseBison.h $(HEADERS)
369+
V3Lexer_pregen.yy.cpp: verilog.l V3ParseBison.h $(HEADERS)
370370
${LEX} --version
371371
${LEX} ${LFLAGS} -o$@ $<
372372

373-
V3Lexer.yy.cpp: V3Lexer_pregen.yy.cpp $(FLEXFIX)
373+
V3Lexer.yy.cpp: V3Lexer_pregen.yy.cpp $(FLEXFIX)
374374
$(PYTHON3) $(FLEXFIX) V3Lexer <$< >$@
375375

376-
V3PreLex_pregen.yy.cpp: V3PreLex.l $(HEADERS)
376+
V3PreLex_pregen.yy.cpp: V3PreLex.l $(HEADERS)
377377
${LEX} --version
378378
${LEX} ${LFLAGS} -o$@ $<
379379

0 commit comments

Comments
 (0)