Bash++
Bash++ compiler internal documentation
Functions
syntax_error.cpp File Reference
#include <iostream>
#include <string>
#include <fstream>
#include <stack>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include "syntax_error.h"
Include dependency graph for syntax_error.cpp:

Functions

void print_syntax_error_or_warning (std::string source_file, int line, int column, const std::string &text, const std::string &msg, std::stack< std::string > include_chain, bool is_warning)
 Print a syntax error or warning message to stderr. More...
 

Function Documentation

◆ print_syntax_error_or_warning()

void print_syntax_error_or_warning ( std::string  source_file,
int  line,
int  column,
const std::string &  text,
const std::string &  msg,
std::stack< std::string >  include_chain,
bool  is_warning 
)

Print a syntax error or warning message to stderr.

Copyright (C) 2025 rail5 Bash++: Bash with classes