commit afb311959eec920dbda96d86b42aa30ac55f1662 from: Omar Polo date: Wed Aug 04 15:57:28 2021 UTC fix parse table bug: now correctly refers to the table commit - ab51127d27ae8e937900c3dc3f7a15555dc0d71f commit + afb311959eec920dbda96d86b42aa30ac55f1662 blob - 567669feffb4feceb2f59b2f6e693e045e4bea05 blob + da0b3743524dc4f5b0d2220391c67f18e5cc31fe --- README.md +++ README.md @@ -34,8 +34,7 @@ pki localhost key "/path/to/localhost.key" table users { "SHA256:..." => "op" } -# should be but there's currently a bug in the parser so... -listen on localhost port 1337 tls pki localhost auth < users > +listen on localhost port 1337 tls pki localhost auth ``` blob - ef6b83f3d477bbede6eaa6834f5fb75527eece23 blob + 11c5c2f5e0bd5cf383edf69b4e33790b9b0db5d6 --- parse.y +++ parse.y @@ -664,7 +664,7 @@ nodigits: (isalnum(x) || (ispunct(x) && x != '(' && x != ')' && \ x != '{' && x != '}' && \ x != '!' && x != '=' && x != '#' && \ - x != ',')) + x != ',' && x != '>')) if (isalnum(c) || c == ':' || c == '_') { do {