#define yyrestart gras_ddt_parse_restart
#define yytext gras_ddt_parse_text
-#line 19 "DataDesc/ddt_parse.yy.c"
+#line 19 "gras/DataDesc/ddt_parse.yy.c"
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
-#line 1 "DataDesc/ddt_parse.yy.l"
+#line 1 "gras/DataDesc/ddt_parse.yy.l"
#define INITIAL 0
/* $Id$ */
/* DataDesc/ddt_parse -- automatic parsing of data structures */
/* Copyright (C) 2003, 2004 Martin Quinson. */
/* This program is free software; you can redistribute it and/or modify it
under the terms of the license (GNU LGPL) which comes with this package. */
-#line 13 "DataDesc/ddt_parse.yy.l"
-#include"DataDesc/datadesc_private.h"
-#include"DataDesc/ddt_parse.yy.h"
+#line 13 "gras/DataDesc/ddt_parse.yy.l"
+#include "gras/DataDesc/datadesc_private.h"
+#include "gras/DataDesc/ddt_parse.yy.h"
#include <string.h>
YY_BUFFER_STATE input_buffer;
FILE *file_to_parse;
#define comment 2
#define foo 3
-#line 451 "DataDesc/ddt_parse.yy.c"
+#line 451 "gras/DataDesc/ddt_parse.yy.c"
/* Macros after this point can all be overridden by user definitions in
* section 1.
register char *yy_cp, *yy_bp;
register int yy_act;
-#line 33 "DataDesc/ddt_parse.yy.l"
+#line 33 "gras/DataDesc/ddt_parse.yy.l"
int comment_caller=0;
int annotate_caller=0;
char string_buf[GRAS_DDT_PARSE_MAX_STR_CONST];
char *string_buf_ptr = NULL;
-#line 621 "DataDesc/ddt_parse.yy.c"
+#line 621 "gras/DataDesc/ddt_parse.yy.c"
if ( yy_init )
{
case 1:
YY_RULE_SETUP
-#line 40 "DataDesc/ddt_parse.yy.l"
+#line 40 "gras/DataDesc/ddt_parse.yy.l"
YY_BREAK
case 2:
YY_RULE_SETUP
-#line 42 "DataDesc/ddt_parse.yy.l"
+#line 42 "gras/DataDesc/ddt_parse.yy.l"
{ /****************** ANNOTATION ************************/
DEBUG0("Begin annotation");
annotate_caller = INITIAL;
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 49 "DataDesc/ddt_parse.yy.l"
+#line 49 "gras/DataDesc/ddt_parse.yy.l"
{ /* trim annotation */
DEBUG0("Begin annotation");
annotate_caller = foo;
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 57 "DataDesc/ddt_parse.yy.l"
+#line 57 "gras/DataDesc/ddt_parse.yy.l"
{
DEBUG0("End annotation");
gras_ddt_parse_char_pos+= strlen(yytext);
YY_BREAK
case 5:
YY_RULE_SETUP
-#line 64 "DataDesc/ddt_parse.yy.l"
+#line 64 "gras/DataDesc/ddt_parse.yy.l"
{
PARSE_ERROR0("``/*g'' construct closed by a regular ``*/''");
}
YY_BREAK
case 6:
YY_RULE_SETUP
-#line 67 "DataDesc/ddt_parse.yy.l"
+#line 67 "gras/DataDesc/ddt_parse.yy.l"
{
PARSE_ERROR0("Type annotation cannot spread over several lines");
}
YY_BREAK
case 7:
YY_RULE_SETUP
-#line 71 "DataDesc/ddt_parse.yy.l"
+#line 71 "gras/DataDesc/ddt_parse.yy.l"
{ /* eat the rest */
gras_ddt_parse_char_pos+= strlen(yytext);
gras_ddt_parse_col_pos+= strlen(yytext);
YY_BREAK
case 8:
YY_RULE_SETUP
-#line 77 "DataDesc/ddt_parse.yy.l"
+#line 77 "gras/DataDesc/ddt_parse.yy.l"
{ /****************** COMMENTS ************************/
// constructs like /*g [string] g*/ are not comments but size annotations
comment_caller = INITIAL;
YY_BREAK
case 9:
YY_RULE_SETUP
-#line 83 "DataDesc/ddt_parse.yy.l"
+#line 83 "gras/DataDesc/ddt_parse.yy.l"
{
comment_caller = foo;
BEGIN(comment);
YY_BREAK
case 10:
YY_RULE_SETUP
-#line 88 "DataDesc/ddt_parse.yy.l"
+#line 88 "gras/DataDesc/ddt_parse.yy.l"
{ /* eat anything that's not a '*' */
}
YY_BREAK
case 11:
YY_RULE_SETUP
-#line 90 "DataDesc/ddt_parse.yy.l"
+#line 90 "gras/DataDesc/ddt_parse.yy.l"
{ /* eat up '*'s not followed by '/'s */
}
YY_BREAK
case 12:
YY_RULE_SETUP
-#line 92 "DataDesc/ddt_parse.yy.l"
+#line 92 "gras/DataDesc/ddt_parse.yy.l"
{
++gras_ddt_parse_line_pos;
gras_ddt_parse_col_pos=0;
YY_BREAK
case 13:
YY_RULE_SETUP
-#line 97 "DataDesc/ddt_parse.yy.l"
+#line 97 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos+= strlen(yytext);
gras_ddt_parse_col_pos+= strlen(yytext);
YY_BREAK
case 14:
YY_RULE_SETUP
-#line 103 "DataDesc/ddt_parse.yy.l"
+#line 103 "gras/DataDesc/ddt_parse.yy.l"
{ /****************** STATEMENTS ************************/
gras_ddt_parse_char_pos += strlen(yytext);
gras_ddt_parse_col_pos += strlen(yytext);
YY_BREAK
case 15:
YY_RULE_SETUP
-#line 109 "DataDesc/ddt_parse.yy.l"
+#line 109 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 16:
YY_RULE_SETUP
-#line 115 "DataDesc/ddt_parse.yy.l"
+#line 115 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 17:
YY_RULE_SETUP
-#line 121 "DataDesc/ddt_parse.yy.l"
+#line 121 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 18:
YY_RULE_SETUP
-#line 127 "DataDesc/ddt_parse.yy.l"
+#line 127 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 19:
YY_RULE_SETUP
-#line 133 "DataDesc/ddt_parse.yy.l"
+#line 133 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 20:
YY_RULE_SETUP
-#line 139 "DataDesc/ddt_parse.yy.l"
+#line 139 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 21:
YY_RULE_SETUP
-#line 145 "DataDesc/ddt_parse.yy.l"
+#line 145 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 22:
YY_RULE_SETUP
-#line 151 "DataDesc/ddt_parse.yy.l"
+#line 151 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 23:
YY_RULE_SETUP
-#line 157 "DataDesc/ddt_parse.yy.l"
+#line 157 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 24:
YY_RULE_SETUP
-#line 163 "DataDesc/ddt_parse.yy.l"
+#line 163 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_line_pos++;
gras_ddt_parse_char_pos++;
YY_BREAK
case 25:
YY_RULE_SETUP
-#line 169 "DataDesc/ddt_parse.yy.l"
+#line 169 "gras/DataDesc/ddt_parse.yy.l"
{
gras_ddt_parse_char_pos++;
gras_ddt_parse_col_pos++;
YY_BREAK
case 26:
YY_RULE_SETUP
-#line 174 "DataDesc/ddt_parse.yy.l"
+#line 174 "gras/DataDesc/ddt_parse.yy.l"
ECHO;
YY_BREAK
-#line 935 "DataDesc/ddt_parse.yy.c"
+#line 935 "gras/DataDesc/ddt_parse.yy.c"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(annotate):
case YY_STATE_EOF(comment):
return 0;
}
#endif
-#line 174 "DataDesc/ddt_parse.yy.l"
+#line 174 "gras/DataDesc/ddt_parse.yy.l"
/* {space}+ { return(TOKEN_SPACE);} */