mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 14:55:10 +00:00
add correct line number and filename tracking for error conditions (LP: #588014)
Bug: https://launchpad.net/bugs/588014
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
/* $Id$ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
|
||||
* NOVELL (All rights reserved)
|
||||
@@ -21,6 +19,8 @@
|
||||
#define PARSER_INCLUDE_H
|
||||
|
||||
extern int preprocess_only;
|
||||
extern int current_lineno;
|
||||
extern char *current_filename;
|
||||
|
||||
extern int add_search_dir(char *dir);
|
||||
extern void init_base_dir(void);
|
||||
@@ -29,4 +29,8 @@ extern void parse_default_paths(void);
|
||||
extern int do_include_preprocessing(char *profilename);
|
||||
FILE *search_path(char *filename, char **fullpath);
|
||||
|
||||
extern void push_include_stack(char *filename);
|
||||
extern void pop_include_stack(void);
|
||||
extern void reset_include_stack(char *filename);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user