Update README.md

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-03-16 08:37:17 -04:00
parent 2fd5ecf8d6
commit d7696e822c
+3 -1
View File
@@ -14,7 +14,7 @@ As an example of what can be parsed and evaluated, here is a fairly complex P4 p
```P4 ```P4
parser main_parser() { parser main_parser() {
state start { state start {
bool where_to = true; bool where_to = ts.yesno;
string where_from = "here"; string where_from = "here";
string where_where = "here"; string where_where = "here";
if (where_to) { if (where_to) {
@@ -32,6 +32,8 @@ parser main_parser() {
}; };
``` ```
(assuming hat `ts` is an instance of a `struct` with the boolean-typed field `yesno`)
Please check back often! Please check back often!
### Building ### Building