Has anyone been able to successfully build and run this example lately? http://fasterparser.blogspot.com/2010/11/re2c-lexer-lemon-parser-calculator.html
I took a shot at it, but I get the following when I try to run it: Starting program: /home/user/calc-example/build/calc warning: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000 Program received signal SIGSEGV, Segmentation fault. 0x0000000000401577 in scan (s=0x603660, token=0x603680) at /home/user/calc-example/build/scanner.c:34 34 yych = *YYCURSOR; (gdb) bt #0 0x0000000000401577 in scan (s=0x603660, token=0x603680) at /home/user/calc-example/build/scanner.c:34 #1 0x0000000000401506 in parse_math_expr (s=0x0) at parser.c:966 #2 0x00000000004017a7 in main (argc=1, argv=0x7fffffffe578) at /home/user/calc-example/main.c:12 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Re2c-general mailing list Re2c-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/re2c-general