Skip to content

Commit

Permalink
fix redefined warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismael-VC committed Aug 29, 2024
1 parent a9c2499 commit 6899e0d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 34 deletions.
2 changes: 0 additions & 2 deletions config/constants.tal
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
(
@|config/constants )

( Operator defined label constants )
ENABLE @DEBUG
14 changes: 0 additions & 14 deletions config/macros.tal
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,4 @@
%ENABLE { |00 }
%DISABLE { |01 }

%PRINT-BANNER { @PRINT-BANNER }
%LOG-LEVEL { @LOG-LEVEL }
%INFO-STACKS { @INFO-STACKS }
%INFO-PROMPT { @INFO-PROMPT }
%INFO-ASSEMBLER-SUMMARY { @INFO-ASSEMBLER-SUMMARY }
%WARN-REDEFINITION { @WARN-REDEFINITION }
%WARN-ABORT { @WARN-ABORT }
%DEBUG-LENGTH { @DEBUG-LENGTH }
%DEBUG-HEAD-POINTER { @DEBUG-HEAD-POINTER }
%DEBUG-TAIL-POINTER { @DEBUG-TAIL-POINTER }
%DEBUG-INPUT { @DEBUG-INPUT }
%DEBUG-HEAP { @DEBUG-HEAP }
%DEBUG-SYMBOLS { @DEBUG-SYMBOLS }

%>> { 00 }
32 changes: 16 additions & 16 deletions config/pre-options.tal
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,29 @@ accepts from least to most verbose: `OFF`, `INFO`, `WARN` or `DEBUG`.

VALUE OPTION
****************************************************************************** )
ENABLE PRINT-BANNER ( print TalOS banner on startup )
( ENABLE LOG-FILE ( log session to a file ) )
ENABLE @PRINT-BANNER ( print TalOS banner on startup )
( ENABLE @LOG-FILE ( log session to a file ) )

(
&|logger )
DEBUG LOG-LEVEL ( valid values: OFF INFO WARN DEBUG ( most verbose ) )
DEBUG @LOG-LEVEL ( valid values: OFF INFO WARN DEBUG ( most verbose ) )

ENABLE INFO-STACKS ( print stacks after each evaluation )
ENABLE INFO-PROMPT ( print the heap's `head` pointer inside the prompt )
ENABLE INFO-ASSEMBLER-SUMMARY ( print the assembled definition summary )
ENABLE @INFO-STACKS ( print stacks after each evaluation )
ENABLE @INFO-PROMPT ( print the heap's `head` pointer inside the prompt )
ENABLE @INFO-ASSEMBLER-SUMMARY ( print the assembled definition summary )

ENABLE WARN-ABORT ( warn each time an evaluation is aborted )
ENABLE WARN-REDEFINITION ( warn on each redefinition )
ENABLE @WARN-ABORT ( warn each time an evaluation is aborted )
ENABLE @WARN-REDEFINITION ( warn on each redefinition )
(
ENABLE WARN-LOW-MEMORY ( warn when there are less than 512 free bytes )
ENABLE WARN-LOW-MEMORY-ZEROPAGE ( warn if less than 25 free bytes )
ENABLE @WARN-LOW-MEMORY ( warn when there are less than 512 free bytes )
ENABLE @WARN-LOW-MEMORY-ZEROPAGE ( warn if less than 25 free bytes )
)

#ifdef DBG
DISABLE DEBUG-LENGTH ( print the assembled bytecode `length` )
DISABLE DEBUG-HEAD-POINTER ( print the head pointer )
DISABLE DEBUG-TAIL-POINTER ( print the tail pointer )
ENABLE DEBUG-INPUT ( print the input buffer )
DISABLE DEBUG-HEAP ( print the heap )
DISABLE DEBUG-SYMBOLS ( print the symbols )
DISABLE @DEBUG-LENGTH ( print the assembled bytecode `length` )
DISABLE @DEBUG-HEAD-POINTER ( print the head pointer )
DISABLE @DEBUG-TAIL-POINTER ( print the tail pointer )
ENABLE @DEBUG-INPUT ( print the input buffer )
DISABLE @DEBUG-HEAP ( print the heap )
DISABLE @DEBUG-SYMBOLS ( print the symbols )
#endif
2 changes: 0 additions & 2 deletions config/symbols.tal
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@
( Operator Defined Symbol Table

=SYMBOL >> NAME \0 )
=buff >> "buff \0
=DEBUG >> "DEBUG \0

0 comments on commit 6899e0d

Please sign in to comment.