Skip to content

Commit

Permalink
upsie
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbat committed Apr 16, 2024
1 parent 2778086 commit 1784cb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions daslib/rst_comment.das
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ enum ParserState
enum_entry
type_alias

let private DEBUG_COMMENT_READER = true
let private DEBUG_COMMENT_READER = false

[macro_function]
def private debug_rst ( s : string )
if DEBUG_COMMENT_READER
to_log(LOG_INFO,"{s}\n")

def panic_rst ( s : string )
to_log(LOG_ERROR,"{s} at {get_line_info(1) |> describe}\n")
if DEBUG_COMMENT_READER
to_log(LOG_ERROR,"{s} at {get_line_info(1) |> describe}\n")
panic(s)

[macro_function]
Expand Down

0 comments on commit 1784cb7

Please sign in to comment.