forked from rmcclosk/netabc
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile newick_parser #26
Comments
Ok, art@orolo:~/git/clmp/src$ diff newick_parser.tab.h newick_parser.h
33,34c33,34
< #ifndef YY_YY_NEWICK_PARSER_TAB_H_INCLUDED
< # define YY_YY_NEWICK_PARSER_TAB_H_INCLUDED
---
> #ifndef YY_YY_NEWICK_PARSER_H_INCLUDED
> # define YY_YY_NEWICK_PARSER_H_INCLUDED
56a57,64
> /* Tokens. */
> #define COLON 258
> #define SEMICOLON 259
> #define LPAREN 260
> #define RPAREN 261
> #define COMMA 262
> #define STRING 263
> #define NUMBER 264
63c71
< #line 25 "newick_parser.y" /* yacc.c:1909 */
---
> #line 26 "newick_parser.y" /* yacc.c:1909 */
68c76
< #line 69 "newick_parser.tab.h" /* yacc.c:1909 */
---
> #line 77 "newick_parser.h" /* yacc.c:1909 */
81c89
< #endif /* !YY_YY_NEWICK_PARSER_TAB_H_INCLUDED */
---
> #endif /* !YY_YY_NEWICK_PARSER_H_INCLUDED */ so there should be some option for removing the |
|
Give up if we can get packages working on macOS and Windows - this is only an issue if we need to change parser. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we're carrying around these files:
newick_parser.c
newick_parser.h
newick_lexer.c
These were generated from the source files
newick_lexer.l
andnewick_parser.y
ages ago and we've had a difficult time reproducing this process since. Unfortunately this is a problem for making a portable distribution.I have been able to compile the above source files in Ubuntu 18.04 as follows:
which yields the default binary
a.out
.How do we generate the
.c
and.h
files mentioned at the top of this post?The text was updated successfully, but these errors were encountered: