This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 0x00007ffff6b21411 in vfprintf () from /lib/libc.so.6 | |
#1 0x00007ffff6b26a00 in ?? () from /lib/libc.so.6 | |
#2 0x00007ffff6b215de in vfprintf () from /lib/libc.so.6 | |
#3 0x000000000041b80f in _output (f=0x7ffff6e59860, format=0x426842 "Error: ", args=0x0) at components/general/output.c:36 | |
#4 0x000000000041bb14 in error_and_die (exitcode=1, format=0x41ed40 "line %lu: %s\n") at components/general/output.c:81 | |
#5 0x000000000040df52 in yyerror (ast=0x7fffffffe448, err=0x7fffffffe370 "syntax error, unexpected end of file, expecting ';'") | |
at components/compiler/saffire.y:42 | |
#6 0x0000000000411ffa in yyparse (ast_root=0x7fffffffe448) at components/compiler/parser.tab.c:3886 | |
#7 0x0000000000408ad8 in ast_generate_tree (fp=0x630030) at components/compiler/ast.c:68 | |
#8 0x00000000004093ce in ast_generate_from_file (source_file=0x7fffffffe96c "test.sf") at components/compiler/ast.c:359 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant:/vagrant$ php unittests/unittester/run-saffire-tests.php unittests/tests/base/break-001.sfu | |
Saffire Test Suite v0.1 - The Saffire Group | |
Start time: 20:55:47 | |
unittests/tests/base/break-001.sfu : Break control tests : [XXXXX] | |
End time: 20:55:47 (0.05 seconds running time) | |
Status | |
Test files : 1 | |
Total tests : 5 | |
Passed : 0 (0%) | |
Failed : 5 (100%) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Returns the Accept options that the client requested | |
* This array is seperated by the precedence that the client requested as well. | |
* @param string $rawOptions Accept options from the header | |
* @return array | |
*/ | |
function getAcceptOptions($rawOptions) { | |
$options = explode(',', $rawOptions); | |
$accept = array(); | |
foreach ($options as $option) { |
NewerOlder