blob: 0d816244afe9b81c6aeeca260340df9e37cced64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef VMP_H
#define VMP_H
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#define NO_ARG 1
#define IN_NAME_TOO_SHORT 2
#define CANNOT_OPEN_FILE 3
#define IsSpecial(c) ((c) == '*' || (c) == '_' || (c) == '~' || (c) == '`')
void error(const char* msg, int code);
void run(const char* in_file_name);
void parse_and_output(const char* line);
char parse_normal_line(char* line);
void parse_line(const char* line);
#endif
|