Commit Graph

22 Commits

Author SHA1 Message Date
Holger Vogt b0a790a463 proper size_t to int conversion 2020-10-10 12:12:59 +02:00
Holger Vogt 8f4e512826 ust tmpstr instead of second strstr() 2020-08-20 15:26:30 +02:00
Holger Vogt e6fdf5f7e2 Make PPerror message more verbose:
give hint to buggy line segment
2020-08-20 15:26:10 +02:00
rlar 994bec7859 declare free() / realloc() arguments `const void *'
to avoid extra casting when freeing `const' strings
2016-07-17 11:19:34 +02:00
Francesco Lannutti ef0dcfe5f2 avoid bison dependency `version >= 2.7' 2016-07-09 20:58:17 +02:00
rlar 45117c94fd drop yyparse() prototypes, require bison >= 2.7 which emits them 2015-10-18 00:46:13 +02:00
rlar dffcbddbba swallow `deprecated directive' warning emitted by newer bisons 2015-08-16 19:54:35 +02:00
rlar 1c6efd9481 polish bison/flex makefile rules 2015-07-05 20:25:23 +02:00
Y.Niitsu 6e3f60c6bd frontend/parse.c, allow nested `indexing', for example foo[bar[n]]
.control
compose ex1 values 111 222 333
compose ex2 values 1 2 3
print ex1 ex2 ex1[ex2[1]]
.endc
2014-04-02 21:14:10 +02:00
rlar b32ae9f79b .control and `B' parser, fix precedence of '-' versus '^'
-2^2 shall be -(2^2) instead of (-2)^2
2013-12-31 16:41:28 +01:00
rlar 15bda2b9e0 fix memory leak in PPparse() 2012-04-05 21:30:05 +02:00
rlar 4b9eca2b38 bug fix, broken vdb() vph() 2012-01-08 18:22:07 +00:00
rlar 73c9cce851 the i() and v() function application have special semantics 2011-08-20 15:33:26 +00:00
rlar 830829ba56 bison files, swallow warnings 2011-08-13 16:08:16 +00:00
rlar b523db46f3 silence a `bcheck' warning `read from uninitialized memory' (bison yylval) 2011-02-11 17:19:25 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
rlar 5412e4bfd2 convert macro `U()' to `IGNORE()' 2010-11-16 19:13:20 +00:00
rlar 80286e0032 pour `IGNORE()' all over the source 2010-11-16 19:11:32 +00:00
rlar 0fb5f2142a avoid function redeclaration, PPparse() and PTparse() 2010-10-09 14:28:28 +00:00
rlar 882b3b4155 add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...) 2010-10-09 14:26:41 +00:00
rlar 74f7a4f908 bug fix, avoid segfault when parsing an unknown function in parse-bison.y 2010-08-07 18:52:27 +00:00
dwarning 5fcf9c2afe ternary operation in control blocks 2010-04-11 08:49:05 +00:00