Browse Source

meta: Remove OMKOV prefix from header guards

master
Jake Wakeling 11 months ago
parent
commit
3076359257
  1. 1
      CHANGELOG
  2. 6
      src/compile.h
  3. 4
      src/main.c
  4. 6
      src/map.h
  5. 6
      src/value.h

1
CHANGELOG

@ -3,3 +3,4 @@
* Add Symbol Table
* Add Parser
* Add Abstract Syntax Tree
* Add LLVM Backend

6
src/compile.h

@ -30,8 +30,8 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
*/
#ifndef OMKOV_G_COMPILE_H_DSDZQ0ZM
#define OMKOV_G_COMPILE_H_DSDZQ0ZM
#ifndef G_COMPILE_H_DSDZQ0ZM
#define G_COMPILE_H_DSDZQ0ZM
#include "cll/cll.h"
@ -40,4 +40,4 @@ extern bool lflag, pflag;
extern void compile(u8 *src, UINT len);
extern void compile_file(const char *file);
#endif // OMKOV_G_COMPILE_H_DSDZQ0ZM
#endif // G_COMPILE_H_DSDZQ0ZM

4
src/main.c

@ -31,8 +31,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
*/
#include "compile.h"
#include "cll/cll.h"
#include "cll/cll.h"
#include "cll/error.h"
#include "cll/optget.h"
@ -69,7 +69,7 @@ int main(int ac, char *av[]) { (void)(ac); A0 = av[0];
static void hlp(void) {
puts("GC - G Compiler\n");
puts("Usage: gc [-lp]\n");
puts("Usage: gc [-LP]\n");
puts("Options:");
puts(" -L Print lexer debug output and exit");
puts(" -P Print parser debug output and exit");

6
src/map.h

@ -30,8 +30,8 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
*/
#ifndef OMKOV_G_MAP_H_ISL5XLWM
#define OMKOV_G_MAP_H_ISL5XLWM
#ifndef G_MAP_H_ISL5XLWM
#define G_MAP_H_ISL5XLWM
#include "cll/cll.h"
#include "type.h"
@ -50,4 +50,4 @@ extern sym *map_get(map *m, u8 *k);
extern void map_put(map *m, u8 *k, sym s);
extern void map_del(map *m, u8 *k);
#endif // OMKOV_G_MAP_H_ISL5XLWM
#endif // G_MAP_H_ISL5XLWM

6
src/value.h

@ -30,8 +30,8 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
*/
#ifndef OMKOV_G_VALUE_H_X2RKXBBA
#define OMKOV_G_VALUE_H_X2RKXBBA
#ifndef G_VALUE_H_X2RKXBBA
#define G_VALUE_H_X2RKXBBA
#include "cll/cll.h"
@ -51,4 +51,4 @@ extern val val_f128(f128 v);
extern val val_strint(u8 *s);
extern val val_strflt(u8 *s);
#endif // OMKOV_G_VALUE_H_X2RKXBBA
#endif // G_VALUE_H_X2RKXBBA

Loading…
Cancel
Save