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