2024-10-10

This commit is contained in:
2024-10-10 12:56:56 +08:00
commit 7b347c848a
2648 changed files with 643965 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
/* This file is part of the software similarity tester SIM.
Written by Dick Grune, Vrije Universiteit, Amsterdam.
$Id: language.c,v 2.4 2016-08-05 15:31:19 dick Exp $
*/
/*
This is a dummy implementation of the abstract class 'language', so
there will not be a language.o file.
The actual implementation is provided by Xlang.o deriving through
Xlang.c from the pertinent Xlang.l file.
*/
#include <stdio.h>
#include <stdlib.h>
#include "token.h"
#include "language.h"
const char *Subject;
void
Init_Language(void) {
abort();
}
int
May_Be_Start_Of_Run(Token ch) {
if (ch == ch) abort();
return 0;
}
size_t
Best_Run_Size(const Token *str, size_t size) {
if (str == str || size == size) abort();
return 0;
}