<commit_before>//
/** @brief Assembler error handling */
/** @file error.h */
//  v6502
//
//  Created by <NAME> on H.25/05/05.
//  Copyright (c) 平成25年 Hello-Channel, LLC. All rights reserved.
//

#ifndef v6502_error_h
#define v6502_error_h

/** @brief Current line number */
extern unsigned long currentLineNum;
/** @brief Current file name */
extern const char *currentFileName;

/** @defgroup as_error Assembler Error Handling */
/**@{*/
/** @brief Called for fatal errors during assembly, such as internal memory failures */
__attribute((noreturn)) void as6502_fatal(const char *reason);
/** @brief Called for code errors detected during assembly, which prevent producing a binary */
void as6502_error(const char *reason, ...);
/** @brief Called for code warnings detected during assembly, which don't prevent producing a binary */
void as6502_warn(const char *reason);
/** @brief Called for code notation which pertain to preceding errors or warnings, this can reference other code */
void as6502_note(unsigned long lineNumber, const char *reason, ...);
/**@}*/

#endif<commit_msg>Moved noreturn attribute to after function declaration, to help doxygen process it properly<commit_after>//
/** @brief Assembler error handling */
/** @file error.h */
//  v6502
//
//  Created by <NAME> on H.25/05/05.
//  Copyright (c) 平成25年 Hello-Channel, LLC. All rights reserved.
//

#ifndef v6502_error_h
#define v6502_error_h

/** @brief Current line number */
extern unsigned long currentLineNum;
/** @brief Current file name */
extern const char *currentFileName;

/** @defgroup as_error Assembler Error Handling */
/**@{*/
/** @brief Called for fatal errors during assembly, such as internal memory failures */
void as6502_fatal(const char *reason) __attribute((noreturn));
/** @brief Called for code errors detected during assembly, which prevent producing a binary */
void as6502_error(const char *reason, ...);
/** @brief Called for code warnings detected during assembly, which don't prevent producing a binary */
void as6502_warn(const char *reason);
/** @brief Called for code notation which pertain to preceding errors or warnings, this can reference other code */
void as6502_note(unsigned long lineNumber, const char *reason, ...);
/**@}*/

#endif
{'fraction_non_alphanumeric': 0.12133333333333333, 'fraction_numerical': 0.032, 'mean_word_length': 4.346793349168646, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6292299', 'n_tokens_mistral': 682, 'n_tokens_neox': 627, 'n_words': 257}