Skip to content

Commit

Permalink
FIX: warning message about duplicate specification was always shown i…
Browse files Browse the repository at this point in the history
…n verbose mode (even without any duplicates)
  • Loading branch information
Oldes committed May 22, 2019
1 parent d949f07 commit 820a3ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tools/make-headers.r
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ foreach file files [

symbols: sort unique symbols ;contains all symbols (like: SYM_CALL) used in above processed C files (without the SYM_ part)
symbols: new-line/skip symbols true 1

if verbose [? symbols]
save/header %../boot/tmp-symbols.r symbols [
title: "C Symbols"
purpose: "Automaticly collected symbols from C files"
Expand Down Expand Up @@ -372,10 +372,10 @@ parse/all data [

write %../include/tmp-strings.h output

]
] ; tmp context end

if any [dup-found verbose] [
print "** NOTE ABOVE PROBLEM!"
if dup-found [
print "***** NOTE ABOVE PROBLEM! (duplicate found)"
wait 5
]

Expand Down

0 comments on commit 820a3ab

Please sign in to comment.