Denys Vlasenko
|
008413754b
bc: fix comparison bug, closes 12336
|
5 jaren geleden |
Denys Vlasenko
|
54f5c1d600
bc: support void functions (GNU compat)
|
5 jaren geleden |
Denys Vlasenko
|
96b5ec10fb
bc: fix "...; return}" to work, disallow "return ()"
|
5 jaren geleden |
Denys Vlasenko
|
cb7c955aeb
bc: generate large bc tests on the fly, -5 mbytes in the git tree
|
5 jaren geleden |
Denys Vlasenko
|
266bec8ba7
bc: speed up string printing, fix print ""
|
5 jaren geleden |
Denys Vlasenko
|
2231468a2f
bc: upstream fixes
|
5 jaren geleden |
Denys Vlasenko
|
680ccd3573
bc: support ibase up to 36 (GNU compat)
|
5 jaren geleden |
Denys Vlasenko
|
94576d2b97
bc: fix interactive handling of comments in strings and quotes in comments
|
5 jaren geleden |
Denys Vlasenko
|
5fa74b9efc
bc: allow {break} and {continue} (allow RBRACE to terminate them)
|
5 jaren geleden |
Denys Vlasenko
|
8c1e723596
bc: unbreak read(), remove checks for nested read()
|
5 jaren geleden |
Denys Vlasenko
|
19eee8ed7c
bc: fix for() to not leave data on stack
|
5 jaren geleden |
Denys Vlasenko
|
52caa007e3
bc: for(;;) fix from upstream
|
6 jaren geleden |
Denys Vlasenko
|
5acd14ba5b
bc: fix keyword matching to not think "ifz" is the "if" keyword
|
6 jaren geleden |
Denys Vlasenko
|
55f3cab7e9
bc: fix "echo -n '#foo' | bc" not eating last 'o'
|
6 jaren geleden |
Denys Vlasenko
|
4b72aebe80
bc: remove "error after expression parsing" check
|
6 jaren geleden |
Denys Vlasenko
|
266aa00012
bc: store only index in p->exits, it's the only thing used there
|
6 jaren geleden |
Denys Vlasenko
|
de24e9d366
bc: remove redundant JUMP generation when parsing 'while'
|
6 jaren geleden |
Denys Vlasenko
|
06ade77002
bc: simplify use of "ip" in loop parsing functions
|
6 jaren geleden |
Denys Vlasenko
|
5d18f6be90
bc: fix "print 1,2,3" parsing
|
6 jaren geleden |
Denys Vlasenko
|
a50576a415
bc: fold zbc_parse_else() into its only caller
|
6 jaren geleden |
Denys Vlasenko
|
202dd1943c
bc: fixes for multi-line if/while/for
|
6 jaren geleden |
Denys Vlasenko
|
e9519e44a6
bc: fix handling of 'return' not in functions, and 'define f()<newline>{...}'
|
6 jaren geleden |
Denys Vlasenko
|
d1d29b4245
bc: partially rewrite parser, tests pass, ^C might be broken now
|
6 jaren geleden |
Denys Vlasenko
|
99b3762335
bc: lexer debugging, added some failing test cases
|
6 jaren geleden |
Denys Vlasenko
|
818b602c88
bc: fix another thinko
|
6 jaren geleden |
Denys Vlasenko
|
766f67250f
bc: fix comment handling
|
6 jaren geleden |
Denys Vlasenko
|
9a23b07c4c
testsuite: add bc and dc tests
|
6 jaren geleden |