A lot of stuff changed, might even delete some in the future...
This commit is contained in:
parent
10b97692d0
commit
e1b701f3e6
7
compile.sh
Normal file
7
compile.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -c -o xyntax.o xyntax.c
|
||||||
|
|
||||||
|
exit
|
@ -6,5 +6,6 @@ mkdir -p /usr/include/xolatile
|
|||||||
|
|
||||||
cp xyntax.h /usr/include/xolatile/xyntax.h
|
cp xyntax.h /usr/include/xolatile/xyntax.h
|
||||||
cp xyntax.c /usr/include/xolatile/xyntax.c
|
cp xyntax.c /usr/include/xolatile/xyntax.c
|
||||||
|
cp xyntax.o /usr/include/xolatile/xyntax.o
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
2
xyntax.c
2
xyntax.c
@ -9,6 +9,8 @@ It is distributed in the hope that it will be useful or harmful, it really depen
|
|||||||
#ifndef XYNTAX_SOURCE
|
#ifndef XYNTAX_SOURCE
|
||||||
#define XYNTAX_SOURCE
|
#define XYNTAX_SOURCE
|
||||||
|
|
||||||
|
#include <xolatile/xtandard.c>
|
||||||
|
|
||||||
#include <xolatile/xyntax.h>
|
#include <xolatile/xyntax.h>
|
||||||
|
|
||||||
int syntax_count = 0;
|
int syntax_count = 0;
|
||||||
|
2
xyntax.h
2
xyntax.h
@ -9,8 +9,6 @@ It is distributed in the hope that it will be useful or harmful, it really depen
|
|||||||
#ifndef XYNTAX_HEADER
|
#ifndef XYNTAX_HEADER
|
||||||
#define XYNTAX_HEADER
|
#define XYNTAX_HEADER
|
||||||
|
|
||||||
#include <xolatile/xtandard.h>
|
|
||||||
|
|
||||||
extern int syntax_count;
|
extern int syntax_count;
|
||||||
extern int * syntax_enrange;
|
extern int * syntax_enrange;
|
||||||
extern int * syntax_derange;
|
extern int * syntax_derange;
|
||||||
|
Loading…
Reference in New Issue
Block a user