Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | parser: recover from errors in any block | Patrick McHardy | 2014-02-04 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | Move error recovery to the common_block definition to handle errors in any block. Queue those errors and abort parsing once a threshold is reached. With this in place, we can continue parsing when errors occur and show all of them to the user at once. tests/error.1:3:8-8: Error: syntax error, unexpected '{', expecting string filter { ^ tests/error.1:4:13-13: Error: syntax error, unexpected newline filter input ^ tests/error.1:5:17-17: Error: syntax error, unexpected newline filter input tcp ^ tests/error.1:6:23-23: Error: syntax error, unexpected newline filter input tcp dport Signed-off-by: Patrick McHardy <kaber@trash.net> | ||||
* | Add support for scoping and symbol binding | Patrick McHardy | 2009-03-20 | 1 | -0/+8 |
| | | | | | | | | | | | | As a first step towards stand-alone sets, add support for scoping and binding symbols. This will be used for user-defined constants, as well as declarations of modifiable (stand-alone) sets once the kernel side is ready. Scopes are currently limited to three nesting levels: the global scope, table block scopes and chain block scopes. Signed-off-by: Patrick McHardy <kaber@trash.net> | ||||
* | Fix use of reserved names in header sandwich | Patrick McHardy | 2009-03-18 | 1 | -3/+3 |
| | | | | Signed-off-by: Patrick McHardy <kaber@trash.net> | ||||
* | Initial commitv0.01-alpha1 | Patrick McHardy | 2009-03-18 | 1 | -0/+36 |