* remove test binary that should have died long ago.
This commit was SVN r2667.
Этот коммит содержится в:
родитель
f0d585c48c
Коммит
9626725eb0
@ -14,13 +14,6 @@ LEX_OUTPUT_ROOT = lex.mca_llm_base_yy
|
||||
|
||||
# Source code files
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
hostparse
|
||||
hostparse_SOURCES = \
|
||||
hostparse.c
|
||||
hostparse_LDADD = \
|
||||
libmca_llm_base.la
|
||||
|
||||
headers = \
|
||||
base.h \
|
||||
base_internal.h \
|
||||
|
@ -1,34 +0,0 @@
|
||||
/* -*- C -*-
|
||||
*
|
||||
* $HEADER$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "mca/llm/base/base.h"
|
||||
#include "mca/llm/base/base_internal.h"
|
||||
#include "mca/llm/base/llm_base_parse_hostfile_lex.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
extern int yylex(void);
|
||||
extern FILE *mca_llm_base_yyin;
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int ret;
|
||||
|
||||
if (argc != 2) {
|
||||
printf("usage: %s <hostfile>\n", argv[0]);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
mca_llm_base_yyin = fopen(argv[1], "r");
|
||||
while (!mca_llm_base_parse_done) {
|
||||
ret = mca_llm_base_yylex();
|
||||
printf("%d: %s\n", ret, mca_llm_base_string);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
Загрузка…
Ссылка в новой задаче
Block a user