123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /** @file
- * @brief Config settings & misc. utilities.
- *
- * These are bundled in with the main program for now.
- */
- /* (C) C.D.F. Miller, Heriot-Watt University, March 1984
- *
- * Permission is hereby given to reproduce or modify this
- * software freely, provided that this notice be retained,
- * and that no use be made of the software for commercial
- * purposes without the express written permission of the
- * author.
- */
- #ifndef _LBL_H_
- #define _LBL_H_
- #include <stdio.h>
- #include <types.h>
- /** Standard format for labels */
- #define STDFORM "%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1.%1"
- /** First character to indicate a new directive in the temporary file */
- #define MAGIC1 '\01'
- /** Second character to indicate a new directive in the temporary file */
- #define MAGIC2 '\02'
- /** In the temporary file, set the current input filename */
- #define M_FILE 'F'
- /** In the temporary file, set the delimiter or switch it off altogether */
- #define M_DELIM 'D'
- /**
- * @brief Get the current location in the input file.
- *
- * If we're not processing an input file, the result is an empty string.
- * @return a string describing the current location
- */
- char *maybe_loc(void);
- #endif
|