aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaik Merten <maikmerten@googlemail.com>2022-03-05 17:36:21 +0100
committerMaik Merten <maikmerten@googlemail.com>2022-03-05 17:36:21 +0100
commitc9ad6ca88177c950bc20d043931cd1eae6d707b1 (patch)
tree82656efaa1409488ef2cd086584b62e4d4b12b4b
parent5b5c7ce5999355f504740181b06e61a05bec4058 (diff)
downloadicestorm-c9ad6ca88177c950bc20d043931cd1eae6d707b1.tar.gz
icestorm-c9ad6ca88177c950bc20d043931cd1eae6d707b1.tar.bz2
icestorm-c9ad6ca88177c950bc20d043931cd1eae6d707b1.zip
icetime: indent with tabs
-rw-r--r--icetime/icetime.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/icetime/icetime.cc b/icetime/icetime.cc
index e872cbd..065705a 100644
--- a/icetime/icetime.cc
+++ b/icetime/icetime.cc
@@ -221,19 +221,19 @@ void read_pcf(const char *filename)
if (tok == nullptr || strcmp(tok, "set_io"))
continue;
- bool skip_next = false;
+ bool skip_next = false;
std::vector<std::string> args;
while ((tok = strtok(nullptr, " \t\r\n")) != nullptr) {
- if(skip_next) {
- skip_next = false;
- continue;
- }
+ if(skip_next) {
+ skip_next = false;
+ continue;
+ }
if (!strcmp(tok, "--warn-no-port"))
continue;
- if (!strcmp(tok, "-pullup") || !strcmp(tok, "-pullup_resistor")) {
- skip_next = true; // skip argument
- continue;
- }
+ if (!strcmp(tok, "-pullup") || !strcmp(tok, "-pullup_resistor")) {
+ skip_next = true; // skip argument
+ continue;
+ }
args.push_back(tok);
}