From f0f6f249265c8725dd9909b190b54dbbb96faa08 Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Fri, 13 Dec 2019 02:31:52 +0100 Subject: [PATCH] pkg/promtail: IETF Syslog (RFC5424) Support (#1275) * IETF syslog (rfc5254) support * Upgrade go-syslog to correctly released v2.0.1 * Incorporate feedback from new linter * Update documentation with relevant RFC sections. * Incorporate feedback from review * Use context to shutdown server. * Use util.Backoff from cortex * Do not embed mutex into TestLabeledClient * Use strings.HasPrefix * Better naming of connectionsClosed -> openConnections * Incorporate further feedback from review * Callback instead of channel in ParseStream. Removes one running Goroutine per connection. * Improve parse error log level. * Move mutex above field it protects. * Use backoff.Ongoing() * Switch to "nontransparent" parser * Further improvements to the documentation --- docs/clients/promtail/README.md | 5 + docs/clients/promtail/configuration.md | 82 + docs/clients/promtail/scraping.md | 56 + go.mod | 2 + go.sum | 4 + pkg/promtail/scrape/scrape.go | 19 + pkg/promtail/targets/manager.go | 14 + .../targets/syslogparser/syslogparser.go | 35 + .../targets/syslogparser/syslogparser_test.go | 61 + pkg/promtail/targets/syslogtarget.go | 327 + pkg/promtail/targets/syslogtarget_test.go | 215 + pkg/promtail/targets/syslogtargetmanager.go | 83 + pkg/promtail/targets/target.go | 3 + .../influxdata/go-syslog/v2/.gitignore | 8 + .../influxdata/go-syslog/v2/LICENSE | 21 + .../influxdata/go-syslog/v2/README.md | 232 + .../influxdata/go-syslog/v2/common/common.rl | 81 + .../go-syslog/v2/common/functions.go | 42 + .../github.com/influxdata/go-syslog/v2/go.mod | 8 + .../github.com/influxdata/go-syslog/v2/go.sum | 10 + .../influxdata/go-syslog/v2/makefile | 115 + .../go-syslog/v2/nontransparent/parser.go | 269 + .../go-syslog/v2/nontransparent/parser.go.rl | 163 + .../v2/nontransparent/trailer_type.go | 76 + .../go-syslog/v2/octetcounting/parser.go | 160 + .../go-syslog/v2/octetcounting/scanner.go | 150 + .../go-syslog/v2/octetcounting/tokens.go | 45 + .../influxdata/go-syslog/v2/options.go | 19 + .../go-syslog/v2/rfc5424/builder.go | 9606 ++++++++++++ .../go-syslog/v2/rfc5424/builder.go.rl | 312 + .../go-syslog/v2/rfc5424/machine.go | 12011 ++++++++++++++++ .../go-syslog/v2/rfc5424/machine.go.rl | 383 + .../go-syslog/v2/rfc5424/options.go | 13 + .../influxdata/go-syslog/v2/rfc5424/parser.go | 45 + .../go-syslog/v2/rfc5424/syslog_message.go | 291 + .../influxdata/go-syslog/v2/syslog.go | 63 + .../leodido/ragel-machinery/LICENSE | 21 + .../leodido/ragel-machinery/README.md | 9 + .../leodido/ragel-machinery/errors.go | 22 + .../github.com/leodido/ragel-machinery/go.mod | 3 + .../github.com/leodido/ragel-machinery/go.sum | 1 + .../parser/arbitrary_reader.go | 122 + .../leodido/ragel-machinery/parser/fsm.go | 13 + .../leodido/ragel-machinery/parser/parser.go | 84 + .../leodido/ragel-machinery/parser/reader.go | 14 + .../leodido/ragel-machinery/parser/state.go | 23 + vendor/modules.txt | 9 + 47 files changed, 25350 insertions(+) create mode 100644 pkg/promtail/targets/syslogparser/syslogparser.go create mode 100644 pkg/promtail/targets/syslogparser/syslogparser_test.go create mode 100644 pkg/promtail/targets/syslogtarget.go create mode 100644 pkg/promtail/targets/syslogtarget_test.go create mode 100644 pkg/promtail/targets/syslogtargetmanager.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/.gitignore create mode 100644 vendor/github.com/influxdata/go-syslog/v2/LICENSE create mode 100644 vendor/github.com/influxdata/go-syslog/v2/README.md create mode 100644 vendor/github.com/influxdata/go-syslog/v2/common/common.rl create mode 100644 vendor/github.com/influxdata/go-syslog/v2/common/functions.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/go.mod create mode 100644 vendor/github.com/influxdata/go-syslog/v2/go.sum create mode 100644 vendor/github.com/influxdata/go-syslog/v2/makefile create mode 100644 vendor/github.com/influxdata/go-syslog/v2/nontransparent/parser.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/nontransparent/parser.go.rl create mode 100644 vendor/github.com/influxdata/go-syslog/v2/nontransparent/trailer_type.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/octetcounting/parser.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/octetcounting/scanner.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/octetcounting/tokens.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/options.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/rfc5424/builder.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/rfc5424/builder.go.rl create mode 100644 vendor/github.com/influxdata/go-syslog/v2/rfc5424/machine.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/rfc5424/machine.go.rl create mode 100644 vendor/github.com/influxdata/go-syslog/v2/rfc5424/options.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/rfc5424/parser.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/rfc5424/syslog_message.go create mode 100644 vendor/github.com/influxdata/go-syslog/v2/syslog.go create mode 100644 vendor/github.com/leodido/ragel-machinery/LICENSE create mode 100644 vendor/github.com/leodido/ragel-machinery/README.md create mode 100644 vendor/github.com/leodido/ragel-machinery/errors.go create mode 100644 vendor/github.com/leodido/ragel-machinery/go.mod create mode 100644 vendor/github.com/leodido/ragel-machinery/go.sum create mode 100644 vendor/github.com/leodido/ragel-machinery/parser/arbitrary_reader.go create mode 100644 vendor/github.com/leodido/ragel-machinery/parser/fsm.go create mode 100644 vendor/github.com/leodido/ragel-machinery/parser/parser.go create mode 100644 vendor/github.com/leodido/ragel-machinery/parser/reader.go create mode 100644 vendor/github.com/leodido/ragel-machinery/parser/state.go diff --git a/docs/clients/promtail/README.md b/docs/clients/promtail/README.md index c99706ad7db8..51e5fed0716e 100644 --- a/docs/clients/promtail/README.md +++ b/docs/clients/promtail/README.md @@ -32,6 +32,11 @@ Just like Prometheus, `promtail` is configured using a `scrape_configs` stanza. drop, and the final metadata to attach to the log line. Refer to the docs for [configuring Promtail](configuration.md) for more details. +## Receiving Logs From Syslog + +When the [Syslog Target](./scraping.md#syslog-target) is being used, logs +can be written with the syslog protocol to the configured port. + ## Labeling and Parsing During service discovery, metadata is determined (pod name, filename, etc.) that diff --git a/docs/clients/promtail/configuration.md b/docs/clients/promtail/configuration.md index c44d9cb7b3f0..de4326201521 100644 --- a/docs/clients/promtail/configuration.md +++ b/docs/clients/promtail/configuration.md @@ -23,6 +23,7 @@ and how to scrape logs from files. * [metric_histogram](#metric_histogram) * [tenant_stage](#tenant_stage) * [journal_config](#journal_config) + * [syslog_config](#syslog_config) * [relabel_config](#relabel_config) * [static_config](#static_config) * [file_sd_config](#file_sd_config) @@ -30,6 +31,7 @@ and how to scrape logs from files. * [target_config](#target_config) * [Example Docker Config](#example-docker-config) * [Example Journal Config](#example-journal-config) +* [Example Syslog Config](#example-syslog-config) ## Configuration File Reference @@ -244,6 +246,9 @@ job_name: # Describes how to scrape logs from the journal. [journal: ] +# Describes how to receive logs from syslog. +[syslog: ] + # Describes how to relabel targets to determine if they should # be processed. relabel_configs: @@ -580,6 +585,59 @@ labels: [path: ] ``` +### syslog_config + +The `syslog_config` block configures a syslog listener allowing users to push +logs to promtail with the syslog protocol. +Currently supported is [IETF Syslog (RFC5424)](https://tools.ietf.org/html/rfc5424) +with and without octet counting. + +The recommended deployment is to have a dedicated syslog forwarder like **syslog-ng** or **rsyslog** +in front of promtail. The forwarder can take care of the various specifications +and transports that exist (UDP, BSD syslog, ...). + +[Octet counting](https://tools.ietf.org/html/rfc6587#section-3.4.1) is recommended as the +message framing method. In a stream with [non-transparent framing](https://tools.ietf.org/html/rfc6587#section-3.4.2), +promtail needs to wait for the next message to catch multi-line messages, +therefore delays between messages can occur. + +See recommended output configurations for +[syslog-ng](scraping.md#syslog-ng-output-configuration) and +[rsyslog](scraping.md#rsyslog-output-configuration). Both configurations enable +IETF Syslog with octet-counting. + +You may need to increase the open files limit for the promtail process +if many clients are connected. (`ulimit -Sn`) + +```yaml +# TCP address to listen on. Has the format of "host:port". +listen_address: + +# The idle timeout for tcp syslog connections, default is 120 seconds. +idle_timeout: + +# Whether to convert syslog structured data to labels. +# A structured data entry of [example@99999 test="yes"] would become +# the label "__syslog_message_sd_example_99999_test" with the value "yes". +label_structured_data: + +# Label map to add to every log message. +labels: + [ : ... ] +``` + +#### Available Labels + +* `__syslog_connection_ip_address`: The remote IP address. +* `__syslog_connection_hostname`: The remote hostname. +* `__syslog_message_severity`: The [syslog severity](https://tools.ietf.org/html/rfc5424#section-6.2.1) parsed from the message. Symbolic name as per [syslog_message.go](https://github.com/influxdata/go-syslog/blob/v2.0.1/rfc5424/syslog_message.go#L184). +* `__syslog_message_facility`: The [syslog facility](https://tools.ietf.org/html/rfc5424#section-6.2.1) parsed from the message. Symbolic name as per [syslog_message.go](https://github.com/influxdata/go-syslog/blob/v2.0.1/rfc5424/syslog_message.go#L235) and `syslog(3)`. +* `__syslog_message_hostname`: The [hostname](https://tools.ietf.org/html/rfc5424#section-6.2.4) parsed from the message. +* `__syslog_message_app_name`: The [app-name field](https://tools.ietf.org/html/rfc5424#section-6.2.5) parsed from the message. +* `__syslog_message_proc_id`: The [procid field](https://tools.ietf.org/html/rfc5424#section-6.2.6) parsed from the message. +* `__syslog_message_msg_id`: The [msgid field](https://tools.ietf.org/html/rfc5424#section-6.2.7) parsed from the message. +* `__syslog_message_sd_[_]_`: The [structured-data field](https://tools.ietf.org/html/rfc5424#section-6.3) parsed from the message. The data field `[custom@99770 example="1"]` becomes `__syslog_message_sd_custom_99770_example`. + ### relabel_config Relabeling is a powerful tool to dynamically rewrite the label set of a target @@ -970,3 +1028,27 @@ scrape_configs: - source_labels: ['__journal__systemd_unit'] target_label: 'unit' ``` + +## Example Syslog Config + +```yaml +server: + http_listen_port: 9080 + grpc_listen_port: 0 + +positions: + filename: /tmp/positions.yaml + +clients: + - url: http://loki_addr:3100/loki/api/v1/push + +scrape_configs: + - job_name: syslog + syslog: + listen_address: 0.0.0.0:1514 + labels: + job: "syslog" + relabel_configs: + - source_labels: ['__syslog_message_hostname'] + target_label: 'host' +``` diff --git a/docs/clients/promtail/scraping.md b/docs/clients/promtail/scraping.md index b9f3f26d1012..55d5b440cb62 100644 --- a/docs/clients/promtail/scraping.md +++ b/docs/clients/promtail/scraping.md @@ -122,6 +122,62 @@ When Promtail reads from the journal, it brings in all fields prefixed with field from the journal was transformed into a label called `unit` through `relabel_configs`. See [Relabeling](#relabeling) for more information. +## Syslog Receiver + +Promtail supports receiving [IETF Syslog (RFC5424)](https://tools.ietf.org/html/rfc5424) +messages from a tcp stream. Receiving syslog messages is defined in a `syslog` +stanza: + +```yaml +scrape_configs: + - job_name: syslog + syslog: + listen_address: 0.0.0.0:1514 + idle_timeout: 60s + label_structured_data: yes + labels: + job: "syslog" + relabel_configs: + - source_labels: ['__syslog_message_hostname'] + target_label: 'host' +``` + +The only required field in the syslog section is the `listen_address` field, +where a valid network address should be provided. The `idle_timeout` can help +with cleaning up stale syslog connections. If `label_structured_data` is set, +[structured data](https://tools.ietf.org/html/rfc5424#section-6.3) in the +syslog header will be translated to internal labels in the form of +`__syslog_message_sd__`. +The labels map defines a constant list of labels to add to every journal entry +that Promtail reads. + +Note that it is recommended to deploy a dedicated syslog forwarder +like **syslog-ng** or **rsyslog** in front of Promtail. +The forwarder can take care of the various specifications +and transports that exist (UDP, BSD syslog, ...). See recommended output +configurations for [syslog-ng](#syslog-ng-output-configuration) and +[rsyslog](#rsyslog-output-configuration). + +When Promtail receives syslog messages, it brings in all header fields, +parsed from the received message, prefixed with `__syslog_` as internal labels. +Like in the example above, the `__syslog_message_hostname` +field from the journal was transformed into a label called `host` through +`relabel_configs`. See [Relabeling](#relabeling) for more information. + +### Syslog-NG Output Configuration + +``` +destination d_loki { + syslog("localhost" transport("tcp") port()); +}; +``` + +### Rsyslog Output Configuration + +``` +action(type="omfwd" protocol="tcp" port="" Template="RSYSLOG_SyslogProtocol23Format" TCP_Framing="octet-counted") +``` + ## Relabeling Each `scrape_configs` entry can contain a `relabel_configs` stanza. diff --git a/go.mod b/go.mod index 9ab3338c965f..a20367fe1e6d 100644 --- a/go.mod +++ b/go.mod @@ -28,12 +28,14 @@ require ( github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 github.com/hashicorp/golang-lru v0.5.3 github.com/hpcloud/tail v1.0.0 + github.com/influxdata/go-syslog/v2 v2.0.1 github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af github.com/json-iterator/go v1.1.7 github.com/klauspost/compress v1.7.4 github.com/klauspost/cpuid v1.2.1 // indirect github.com/mitchellh/mapstructure v1.1.2 github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c // indirect + github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f github.com/opencontainers/go-digest v1.0.0-rc1 // indirect github.com/opencontainers/image-spec v1.0.1 // indirect github.com/opentracing/opentracing-go v1.1.0 diff --git a/go.sum b/go.sum index 606aa51a9127..cb6a1b5c2224 100644 --- a/go.sum +++ b/go.sum @@ -371,6 +371,8 @@ github.com/hashicorp/serf v0.8.3 h1:MWYcmct5EtKz0efYooPcL0yNkem+7kWxqXDi/UIh+8k= github.com/hashicorp/serf v0.8.3/go.mod h1:UpNcs7fFbpKIyZaUuSW6EPiH+eZC7OuyFD+wc1oal+k= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/influxdata/go-syslog/v2 v2.0.1 h1:l44S4l4Q8MhGQcoOxJpbo+QQYxJqp0vdgIVHh4+DO0s= +github.com/influxdata/go-syslog/v2 v2.0.1/go.mod h1:hjvie1UTaD5E1fTnDmxaCw8RRDrT4Ve+XHr5O2dKSCo= github.com/influxdata/influxdb v1.7.7/go.mod h1:qZna6X/4elxqT3yI9iZYdZrWWdeFOOprn86kgg4+IzY= github.com/jessevdk/go-flags v0.0.0-20180331124232-1c38ed7ad0cc/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af h1:pmfjZENx5imkbgOkpRUYLnmbU7UEFbjtDA2hxJ1ichM= @@ -413,6 +415,8 @@ github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LE github.com/lann/builder v0.0.0-20150808151131-f22ce00fd939/go.mod h1:dXGbAdH5GtBTC4WfIxhKZfyBF/HBFgRZSWwZ9g/He9o= github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0/go.mod h1:vmVJ0l/dxyfGW6FmdpVm2joNMFikkuWg0EoCKLGUMNw= github.com/leanovate/gopter v0.2.4/go.mod h1:gNcbPWNEWRe4lm+bycKqxUYoH5uoVje5SkOJ3uoLer8= +github.com/leodido/ragel-machinery v0.0.0-20181214104525-299bdde78165 h1:bCiVCRCs1Heq84lurVinUPy19keqGEe4jh5vtK37jcg= +github.com/leodido/ragel-machinery v0.0.0-20181214104525-299bdde78165/go.mod h1:WZxr2/6a/Ar9bMDc2rN/LJrE/hF6bXE4LPyDSIxwAfg= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lovoo/gcloud-opentracing v0.3.0/go.mod h1:ZFqk2y38kMDDikZPAK7ynTTGuyt17nSPdS3K5e+ZTBY= github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= diff --git a/pkg/promtail/scrape/scrape.go b/pkg/promtail/scrape/scrape.go index 3f07655a71db..2e3a7e1bb679 100644 --- a/pkg/promtail/scrape/scrape.go +++ b/pkg/promtail/scrape/scrape.go @@ -3,6 +3,7 @@ package scrape import ( "fmt" "reflect" + "time" "github.com/prometheus/common/model" @@ -19,6 +20,7 @@ type Config struct { EntryParser api.EntryParser `yaml:"entry_parser"` PipelineStages stages.PipelineStages `yaml:"pipeline_stages,omitempty"` JournalConfig *JournalTargetConfig `yaml:"journal,omitempty"` + SyslogConfig *SyslogTargetConfig `yaml:"syslog,omitempty"` RelabelConfigs []*relabel.Config `yaml:"relabel_configs,omitempty"` ServiceDiscoveryConfig sd_config.ServiceDiscoveryConfig `yaml:",inline"` } @@ -42,6 +44,23 @@ type JournalTargetConfig struct { Path string `yaml:"path"` } +// SyslogTargetConfig describes a scrape config that listens for log lines over syslog. +type SyslogTargetConfig struct { + // ListenAddress is the address to listen on for syslog messages. + ListenAddress string `yaml:"listen_address"` + + // IdleTimeout is the idle timeout for tcp connections. + IdleTimeout time.Duration `yaml:"idle_timeout"` + + // LabelStructuredData sets if the structured data part of a syslog message + // is translated to a label. + // [example@99999 test="yes"] => {__syslog_message_sd_example_99999_test="yes"} + LabelStructuredData bool `yaml:"label_structured_data"` + + // Labels optionally holds labels to associate with each record read from syslog. + Labels model.LabelSet `yaml:"labels"` +} + // DefaultScrapeConfig is the default Config. var DefaultScrapeConfig = Config{ EntryParser: api.Docker, diff --git a/pkg/promtail/targets/manager.go b/pkg/promtail/targets/manager.go index a375c71563f2..118de6ea6aab 100644 --- a/pkg/promtail/targets/manager.go +++ b/pkg/promtail/targets/manager.go @@ -32,6 +32,7 @@ func NewTargetManagers( var targetManagers []targetManager var fileScrapeConfigs []scrape.Config var journalScrapeConfigs []scrape.Config + var syslogScrapeConfigs []scrape.Config for _, cfg := range scrapeConfigs { if cfg.HasServiceDiscoveryConfig() { @@ -70,6 +71,19 @@ func NewTargetManagers( targetManagers = append(targetManagers, journalTargetManager) } + for _, cfg := range scrapeConfigs { + if cfg.SyslogConfig != nil { + syslogScrapeConfigs = append(syslogScrapeConfigs, cfg) + } + } + if len(syslogScrapeConfigs) > 0 { + syslogTargetManager, err := NewSyslogTargetManager(logger, client, syslogScrapeConfigs) + if err != nil { + return nil, errors.Wrap(err, "failed to make syslog target manager") + } + targetManagers = append(targetManagers, syslogTargetManager) + } + return &TargetManagers{targetManagers: targetManagers}, nil } diff --git a/pkg/promtail/targets/syslogparser/syslogparser.go b/pkg/promtail/targets/syslogparser/syslogparser.go new file mode 100644 index 000000000000..0cea3f985b8d --- /dev/null +++ b/pkg/promtail/targets/syslogparser/syslogparser.go @@ -0,0 +1,35 @@ +package syslogparser + +import ( + "bufio" + "fmt" + "io" + + "github.com/influxdata/go-syslog/v2" + "github.com/influxdata/go-syslog/v2/nontransparent" + "github.com/influxdata/go-syslog/v2/octetcounting" +) + +// ParseStream parses a rfc5424 syslog stream from the given Reader, calling +// the callback function with the parsed messages. The parser automatically +// detects octet counting. +// The function returns on EOF or unrecoverable errors. +func ParseStream(r io.Reader, callback func(res *syslog.Result)) error { + buf := bufio.NewReader(r) + + firstByte, err := buf.Peek(1) + if err != nil { + return err + } + + b := firstByte[0] + if b == '<' { + nontransparent.NewParser(syslog.WithListener(callback)).Parse(buf) + } else if b >= '0' && b <= '9' { + octetcounting.NewParser(syslog.WithListener(callback)).Parse(buf) + } else { + return fmt.Errorf("invalid or unsupported framing. first byte: '%s'", firstByte) + } + + return nil +} diff --git a/pkg/promtail/targets/syslogparser/syslogparser_test.go b/pkg/promtail/targets/syslogparser/syslogparser_test.go new file mode 100644 index 000000000000..b3b7e4ea1d75 --- /dev/null +++ b/pkg/promtail/targets/syslogparser/syslogparser_test.go @@ -0,0 +1,61 @@ +package syslogparser_test + +import ( + "io" + "strings" + "testing" + + "github.com/grafana/loki/pkg/promtail/targets/syslogparser" + "github.com/influxdata/go-syslog/v2" + "github.com/stretchr/testify/require" +) + +func TestParseStream_OctetCounting(t *testing.T) { + r := strings.NewReader("23 <13>1 - - - - - - First24 <13>1 - - - - - - Second") + + results := make([]*syslog.Result, 0) + cb := func(res *syslog.Result) { + results = append(results, res) + } + + err := syslogparser.ParseStream(r, cb) + require.NoError(t, err) + + require.Equal(t, 2, len(results)) + require.NoError(t, results[0].Error) + require.Equal(t, "First", *results[0].Message.Message()) + require.NoError(t, results[1].Error) + require.Equal(t, "Second", *results[1].Message.Message()) +} + +func TestParseStream_NewlineSeparated(t *testing.T) { + r := strings.NewReader("<13>1 - - - - - - First\n<13>1 - - - - - - Second\n") + + results := make([]*syslog.Result, 0) + cb := func(res *syslog.Result) { + results = append(results, res) + } + + err := syslogparser.ParseStream(r, cb) + require.NoError(t, err) + + require.Equal(t, 2, len(results)) + require.NoError(t, results[0].Error) + require.Equal(t, "First", *results[0].Message.Message()) + require.NoError(t, results[1].Error) + require.Equal(t, "Second", *results[1].Message.Message()) +} + +func TestParseStream_InvalidStream(t *testing.T) { + r := strings.NewReader("invalid") + + err := syslogparser.ParseStream(r, func(res *syslog.Result) {}) + require.EqualError(t, err, "invalid or unsupported framing. first byte: 'i'") +} + +func TestParseStream_EmptyStream(t *testing.T) { + r := strings.NewReader("") + + err := syslogparser.ParseStream(r, func(res *syslog.Result) {}) + require.Equal(t, err, io.EOF) +} diff --git a/pkg/promtail/targets/syslogtarget.go b/pkg/promtail/targets/syslogtarget.go new file mode 100644 index 000000000000..8d9f803c6de6 --- /dev/null +++ b/pkg/promtail/targets/syslogtarget.go @@ -0,0 +1,327 @@ +package targets + +import ( + "context" + "errors" + "fmt" + "net" + "strings" + "sync" + "time" + + "github.com/cortexproject/cortex/pkg/util" + "github.com/go-kit/kit/log" + "github.com/go-kit/kit/log/level" + "github.com/influxdata/go-syslog/v2" + "github.com/mwitkow/go-conntrack" + "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/client_golang/prometheus/promauto" + "github.com/prometheus/common/model" + "github.com/prometheus/prometheus/pkg/labels" + "github.com/prometheus/prometheus/pkg/relabel" + + "github.com/grafana/loki/pkg/promtail/api" + "github.com/grafana/loki/pkg/promtail/scrape" + "github.com/grafana/loki/pkg/promtail/targets/syslogparser" +) + +var ( + syslogEntries = promauto.NewCounter(prometheus.CounterOpts{ + Namespace: "promtail", + Name: "syslog_target_entries_total", + Help: "Total number of successful entries sent to the syslog target", + }) + syslogParsingErrors = promauto.NewCounter(prometheus.CounterOpts{ + Namespace: "promtail", + Name: "syslog_target_parsing_errors_total", + Help: "Total number of parsing errors while receiving syslog messages", + }) + + defaultIdleTimeout = 120 * time.Second +) + +// SyslogTarget listens to syslog messages. +type SyslogTarget struct { + logger log.Logger + handler api.EntryHandler + config *scrape.SyslogTargetConfig + relabelConfig []*relabel.Config + + listener net.Listener + messages chan message + + ctx context.Context + ctxCancel context.CancelFunc + openConnections *sync.WaitGroup +} + +type message struct { + labels model.LabelSet + message string +} + +// NewSyslogTarget configures a new SyslogTarget. +func NewSyslogTarget( + logger log.Logger, + handler api.EntryHandler, + relabel []*relabel.Config, + config *scrape.SyslogTargetConfig, +) (*SyslogTarget, error) { + + ctx, cancel := context.WithCancel(context.Background()) + + t := &SyslogTarget{ + logger: logger, + handler: handler, + config: config, + relabelConfig: relabel, + + ctx: ctx, + ctxCancel: cancel, + openConnections: new(sync.WaitGroup), + } + + t.messages = make(chan message) + go t.messageSender() + + err := t.run() + return t, err +} + +func (t *SyslogTarget) run() error { + l, err := net.Listen("tcp", t.config.ListenAddress) + l = conntrack.NewListener(l, conntrack.TrackWithName("syslog_target/"+t.config.ListenAddress)) + if err != nil { + return fmt.Errorf("error setting up syslog target %w", err) + } + t.listener = l + level.Info(t.logger).Log("msg", "syslog listening on address", "address", t.ListenAddress().String()) + + t.openConnections.Add(1) + go t.acceptConnections() + + return nil +} + +func (t *SyslogTarget) acceptConnections() { + defer t.openConnections.Done() + + l := log.With(t.logger, "address", t.listener.Addr().String()) + + backoff := util.NewBackoff(t.ctx, util.BackoffConfig{ + MinBackoff: 5 * time.Millisecond, + MaxBackoff: 1 * time.Second, + }) + + for { + c, err := t.listener.Accept() + if err != nil { + if t.ctx.Err() != nil { + level.Info(l).Log("msg", "syslog server shutting down") + return + } + + if ne, ok := err.(net.Error); ok && ne.Temporary() { + level.Warn(l).Log("msg", "failed to accept syslog connection", "err", err, "num_retries", backoff.NumRetries()) + backoff.Wait() + continue + } + + level.Error(l).Log("msg", "failed to accept syslog connection. quiting", "err", err) + return + } + backoff.Reset() + + t.openConnections.Add(1) + go t.handleConnection(c) + } + +} + +func (t *SyslogTarget) handleConnection(cn net.Conn) { + defer t.openConnections.Done() + + c := &idleTimeoutConn{cn, t.idleTimeout()} + + handlerCtx, cancel := context.WithCancel(t.ctx) + defer cancel() + go func() { + <-handlerCtx.Done() + _ = c.Close() + }() + + connLabels := t.connectionLabels(c) + + err := syslogparser.ParseStream(c, func(msg *syslog.Result) { + if err := msg.Error; err != nil { + t.handleMessageError(err) + return + } + t.handleMessage(connLabels.Copy(), msg.Message) + }) + + if err != nil { + level.Warn(t.logger).Log("msg", "error initializing syslog stream", "err", err) + } +} + +func (t *SyslogTarget) handleMessageError(err error) { + var ne net.Error + if errors.As(err, &ne) && ne.Timeout() { + level.Debug(t.logger).Log("msg", "connection timed out", "err", ne) + return + } + level.Warn(t.logger).Log("msg", "error parsing syslog stream", "err", err) + syslogParsingErrors.Inc() +} + +func (t *SyslogTarget) handleMessage(connLabels labels.Labels, msg syslog.Message) { + if msg.Message() == nil { + return + } + + lb := labels.NewBuilder(connLabels) + if v := msg.SeverityLevel(); v != nil { + lb.Set("__syslog_message_severity", *v) + } + if v := msg.FacilityLevel(); v != nil { + lb.Set("__syslog_message_facility", *v) + } + if v := msg.Hostname(); v != nil { + lb.Set("__syslog_message_hostname", *v) + } + if v := msg.Appname(); v != nil { + lb.Set("__syslog_message_app_name", *v) + } + if v := msg.ProcID(); v != nil { + lb.Set("__syslog_message_proc_id", *v) + } + if v := msg.MsgID(); v != nil { + lb.Set("__syslog_message_msg_id", *v) + } + + if t.config.LabelStructuredData && msg.StructuredData() != nil { + for id, params := range *msg.StructuredData() { + id = strings.Replace(id, "@", "_", -1) + for name, value := range params { + key := "__syslog_message_sd_" + id + "_" + name + lb.Set(key, value) + } + } + } + + processed := relabel.Process(lb.Labels(), t.relabelConfig...) + + filtered := make(model.LabelSet) + for _, lbl := range processed { + if strings.HasPrefix(lbl.Name, "__") { + continue + } + filtered[model.LabelName(lbl.Name)] = model.LabelValue(lbl.Value) + } + + t.messages <- message{filtered, *msg.Message()} +} + +func (t *SyslogTarget) messageSender() { + for msg := range t.messages { + if err := t.handler.Handle(msg.labels, time.Now(), msg.message); err != nil { + level.Error(t.logger).Log("msg", "error handling line", "error", err) + } + syslogEntries.Inc() + } +} + +func (t *SyslogTarget) connectionLabels(c net.Conn) labels.Labels { + lb := labels.NewBuilder(nil) + for k, v := range t.config.Labels { + lb.Set(string(k), string(v)) + } + + ip := ipFromConn(c).String() + lb.Set("__syslog_connection_ip_address", ip) + lb.Set("__syslog_connection_hostname", lookupAddr(ip)) + + return lb.Labels() +} + +func ipFromConn(c net.Conn) net.IP { + switch addr := c.RemoteAddr().(type) { + case *net.TCPAddr: + return addr.IP + } + + return nil +} + +func lookupAddr(addr string) string { + names, _ := net.LookupAddr(addr) + return strings.Join(names, ",") +} + +// Type returns SyslogTargetType. +func (t *SyslogTarget) Type() TargetType { + return SyslogTargetType +} + +// Ready indicates whether or not the syslog target is ready to be read from. +func (t *SyslogTarget) Ready() bool { + return true +} + +// DiscoveredLabels returns the set of labels discovered by the syslog target, which +// is always nil. Implements Target. +func (t *SyslogTarget) DiscoveredLabels() model.LabelSet { + return nil +} + +// Labels returns the set of labels that statically apply to all log entries +// produced by the SyslogTarget. +func (t *SyslogTarget) Labels() model.LabelSet { + return t.config.Labels +} + +// Details returns target-specific details. +func (t *SyslogTarget) Details() interface{} { + return map[string]string{} +} + +// Stop shuts down the SyslogTarget. +func (t *SyslogTarget) Stop() error { + t.ctxCancel() + err := t.listener.Close() + t.openConnections.Wait() + close(t.messages) + return err +} + +// ListenAddress returns the address SyslogTarget is listening on. +func (t *SyslogTarget) ListenAddress() net.Addr { + return t.listener.Addr() +} + +func (t *SyslogTarget) idleTimeout() time.Duration { + if tm := t.config.IdleTimeout; tm != 0 { + return tm + } + return defaultIdleTimeout +} + +type idleTimeoutConn struct { + net.Conn + idleTimeout time.Duration +} + +func (c *idleTimeoutConn) Write(p []byte) (int, error) { + c.setDeadline() + return c.Conn.Write(p) +} + +func (c *idleTimeoutConn) Read(b []byte) (int, error) { + c.setDeadline() + return c.Conn.Read(b) +} + +func (c *idleTimeoutConn) setDeadline() { + _ = c.Conn.SetDeadline(time.Now().Add(c.idleTimeout)) +} diff --git a/pkg/promtail/targets/syslogtarget_test.go b/pkg/promtail/targets/syslogtarget_test.go new file mode 100644 index 000000000000..1e9679ff7f6d --- /dev/null +++ b/pkg/promtail/targets/syslogtarget_test.go @@ -0,0 +1,215 @@ +package targets + +import ( + "fmt" + "io" + "net" + "os" + "sync" + "testing" + "time" + + "github.com/go-kit/kit/log" + "github.com/go-kit/kit/log/level" + "github.com/prometheus/common/model" + "github.com/prometheus/prometheus/pkg/relabel" + "github.com/stretchr/testify/require" + "gopkg.in/yaml.v2" + + "github.com/grafana/loki/pkg/promtail/scrape" +) + +type ClientMessage struct { + Labels model.LabelSet + Timestamp time.Time + Message string +} + +type TestLabeledClient struct { + log log.Logger + + messagesMtx sync.RWMutex + messages []ClientMessage +} + +func (c *TestLabeledClient) Handle(ls model.LabelSet, t time.Time, s string) error { + level.Debug(c.log).Log("msg", "received log", "log", s) + + c.messagesMtx.Lock() + defer c.messagesMtx.Unlock() + c.messages = append(c.messages, ClientMessage{ls, t, s}) + return nil +} + +func (c *TestLabeledClient) Messages() []ClientMessage { + c.messagesMtx.RLock() + defer c.messagesMtx.RUnlock() + + return c.messages +} + +func TestSyslogTarget_NewlineSeparatedMessages(t *testing.T) { + testSyslogTarget(t, false) +} + +func TestSyslogTarget_OctetCounting(t *testing.T) { + testSyslogTarget(t, true) +} + +func testSyslogTarget(t *testing.T, octetCounting bool) { + w := log.NewSyncWriter(os.Stderr) + logger := log.NewLogfmtLogger(w) + client := &TestLabeledClient{log: logger} + + tgt, err := NewSyslogTarget(logger, client, relabelConfig(t), &scrape.SyslogTargetConfig{ + ListenAddress: "127.0.0.1:0", + LabelStructuredData: true, + Labels: model.LabelSet{ + "test": "syslog_target", + }, + }) + require.NoError(t, err) + defer func() { + require.NoError(t, tgt.Stop()) + }() + + addr := tgt.ListenAddress().String() + c, err := net.Dial("tcp", addr) + require.NoError(t, err) + + messages := []string{ + `<165>1 2018-10-11T22:14:15.003Z host5 e - id1 [custom@32473 exkey="1"] An application event log entry...`, + `<165>1 2018-10-11T22:14:15.005Z host5 e - id2 [custom@32473 exkey="2"] An application event log entry...`, + `<165>1 2018-10-11T22:14:15.007Z host5 e - id3 [custom@32473 exkey="3"] An application event log entry...`, + } + + err = writeMessagesToStream(c, messages, octetCounting) + require.NoError(t, err) + require.NoError(t, c.Close()) + + require.Eventuallyf(t, func() bool { + return len(client.Messages()) == len(messages) + }, time.Second, time.Millisecond, "Expected to receive %d messages, got %d.", len(messages), len(client.Messages())) + + require.Equal(t, model.LabelSet{ + "test": "syslog_target", + + "severity": "notice", + "facility": "local4", + "hostname": "host5", + "app_name": "e", + "msg_id": "id1", + + "sd_custom_exkey": "1", + }, client.Messages()[0].Labels) + require.Equal(t, "An application event log entry...", client.Messages()[0].Message) + + require.NotZero(t, client.Messages()[0].Timestamp) +} + +func relabelConfig(t *testing.T) []*relabel.Config { + relabelCfg := ` +- source_labels: ['__syslog_message_severity'] + target_label: 'severity' +- source_labels: ['__syslog_message_facility'] + target_label: 'facility' +- source_labels: ['__syslog_message_hostname'] + target_label: 'hostname' +- source_labels: ['__syslog_message_app_name'] + target_label: 'app_name' +- source_labels: ['__syslog_message_proc_id'] + target_label: 'proc_id' +- source_labels: ['__syslog_message_msg_id'] + target_label: 'msg_id' +- source_labels: ['__syslog_message_sd_custom_32473_exkey'] + target_label: 'sd_custom_exkey' +` + + var relabels []*relabel.Config + err := yaml.Unmarshal([]byte(relabelCfg), &relabels) + require.NoError(t, err) + + return relabels +} + +func writeMessagesToStream(w io.Writer, messages []string, octetCounting bool) error { + var formatter func(string) string + + if octetCounting { + formatter = func(s string) string { + return fmt.Sprintf("%d %s", len(s), s) + } + } else { + formatter = func(s string) string { + return s + "\n" + } + } + + for _, msg := range messages { + _, err := fmt.Fprint(w, formatter(msg)) + if err != nil { + return err + } + } + + return nil +} + +func TestSyslogTarget_InvalidData(t *testing.T) { + w := log.NewSyncWriter(os.Stderr) + logger := log.NewLogfmtLogger(w) + client := &TestLabeledClient{log: logger} + + tgt, err := NewSyslogTarget(logger, client, relabelConfig(t), &scrape.SyslogTargetConfig{ + ListenAddress: "127.0.0.1:0", + }) + require.NoError(t, err) + defer func() { + require.NoError(t, tgt.Stop()) + }() + + addr := tgt.ListenAddress().String() + c, err := net.Dial("tcp", addr) + require.NoError(t, err) + defer c.Close() + + _, err = fmt.Fprint(c, "xxx") + require.NoError(t, err) + + // syslog target should immediately close the connection if sent invalid data + err = c.SetDeadline(time.Now().Add(time.Second)) + require.NoError(t, err) + + buf := make([]byte, 1) + _, err = c.Read(buf) + require.EqualError(t, err, "EOF") +} + +func TestSyslogTarget_IdleTimeout(t *testing.T) { + w := log.NewSyncWriter(os.Stderr) + logger := log.NewLogfmtLogger(w) + client := &TestLabeledClient{log: logger} + + tgt, err := NewSyslogTarget(logger, client, relabelConfig(t), &scrape.SyslogTargetConfig{ + ListenAddress: "127.0.0.1:0", + IdleTimeout: time.Millisecond, + }) + require.NoError(t, err) + defer func() { + require.NoError(t, tgt.Stop()) + }() + + addr := tgt.ListenAddress().String() + c, err := net.Dial("tcp", addr) + require.NoError(t, err) + defer c.Close() + + // connection should be closed before the higher timeout + // from SetDeadline fires + err = c.SetDeadline(time.Now().Add(time.Second)) + require.NoError(t, err) + + buf := make([]byte, 1) + _, err = c.Read(buf) + require.EqualError(t, err, "EOF") +} diff --git a/pkg/promtail/targets/syslogtargetmanager.go b/pkg/promtail/targets/syslogtargetmanager.go new file mode 100644 index 000000000000..00cb1227ba7c --- /dev/null +++ b/pkg/promtail/targets/syslogtargetmanager.go @@ -0,0 +1,83 @@ +package targets + +import ( + "github.com/go-kit/kit/log" + "github.com/go-kit/kit/log/level" + "github.com/prometheus/client_golang/prometheus" + + "github.com/grafana/loki/pkg/logentry/stages" + "github.com/grafana/loki/pkg/promtail/api" + "github.com/grafana/loki/pkg/promtail/scrape" +) + +// SyslogTargetManager manages a series of SyslogTargets. +type SyslogTargetManager struct { + logger log.Logger + targets map[string]*SyslogTarget +} + +// NewSyslogTargetManager creates a new SyslogTargetManager. +func NewSyslogTargetManager( + logger log.Logger, + client api.EntryHandler, + scrapeConfigs []scrape.Config, +) (*SyslogTargetManager, error) { + + tm := &SyslogTargetManager{ + logger: logger, + targets: make(map[string]*SyslogTarget), + } + + for _, cfg := range scrapeConfigs { + registerer := prometheus.DefaultRegisterer + pipeline, err := stages.NewPipeline(log.With(logger, "component", "syslog_pipeline"), cfg.PipelineStages, &cfg.JobName, registerer) + if err != nil { + return nil, err + } + + t, err := NewSyslogTarget(logger, pipeline.Wrap(client), cfg.RelabelConfigs, cfg.SyslogConfig) + if err != nil { + return nil, err + } + + tm.targets[cfg.JobName] = t + } + + return tm, nil +} + +// Ready returns true if at least one SyslogTarget is also ready. +func (tm *SyslogTargetManager) Ready() bool { + for _, t := range tm.targets { + if t.Ready() { + return true + } + } + return false +} + +// Stop stops the SyslogTargetManager and all of its SyslogTargets. +func (tm *SyslogTargetManager) Stop() { + for _, t := range tm.targets { + if err := t.Stop(); err != nil { + level.Error(t.logger).Log("msg", "error stopping SyslogTarget", "err", err.Error()) + } + } +} + +// ActiveTargets returns the list of SyslogTargets where syslog data +// is being read. ActiveTargets is an alias to AllTargets as +// SyslogTargets cannot be deactivated, only stopped. +func (tm *SyslogTargetManager) ActiveTargets() map[string][]Target { + return tm.AllTargets() +} + +// AllTargets returns the list of all targets where syslog data +// is currently being read. +func (tm *SyslogTargetManager) AllTargets() map[string][]Target { + result := make(map[string][]Target, len(tm.targets)) + for k, v := range tm.targets { + result[k] = []Target{v} + } + return result +} diff --git a/pkg/promtail/targets/target.go b/pkg/promtail/targets/target.go index 6f41641153fb..15c4f51fb1e0 100644 --- a/pkg/promtail/targets/target.go +++ b/pkg/promtail/targets/target.go @@ -14,6 +14,9 @@ const ( // JournalTargetType is a journalctl target JournalTargetType = TargetType("Journal") + // SyslogTargetType is a syslog target + SyslogTargetType = TargetType("Syslog") + // DroppedTargetType is a target that's been dropped. DroppedTargetType = TargetType("dropped") ) diff --git a/vendor/github.com/influxdata/go-syslog/v2/.gitignore b/vendor/github.com/influxdata/go-syslog/v2/.gitignore new file mode 100644 index 000000000000..0ca728d8c06e --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/.gitignore @@ -0,0 +1,8 @@ +debug.test + +docs/*.png + +.vscode/ + +*.out +*.html \ No newline at end of file diff --git a/vendor/github.com/influxdata/go-syslog/v2/LICENSE b/vendor/github.com/influxdata/go-syslog/v2/LICENSE new file mode 100644 index 000000000000..fae3a682f4eb --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2018, InfluxData Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/vendor/github.com/influxdata/go-syslog/v2/README.md b/vendor/github.com/influxdata/go-syslog/v2/README.md new file mode 100644 index 000000000000..870909a8562a --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/README.md @@ -0,0 +1,232 @@ +[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](LICENSE) + +**A parser for syslog messages**. + +> [Blazing fast](#Performances) RFC5424-compliant parsers + +To wrap up, this package provides: + +- a RFC5424-compliant parser +- a RFC5424-compliant builder +- a parser which works on streams for syslog with [octet counting](https://tools.ietf.org/html/rfc5425#section-4.3) framing technique +- a parser which works on streams for syslog with [non-transparent](https://tools.ietf.org/html/rfc6587#section-3.4.2) framing technique + +This library provides the pieces to parse syslog messages transported following various RFCs. + +For example: + +- TLS with octet count ([RFC5425](https://tools.ietf.org/html/rfc5425)) +- TCP with non-transparent framing or with octet count ([RFC 6587](https://tools.ietf.org/html/rfc6587)) +- UDP carrying one message per packet ([RFC5426](https://tools.ietf.org/html/rfc5426)) + +## Installation + +``` +go get github.com/influxdata/go-syslog/v2 +``` + +## Docs + +[![Documentation](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](http://godoc.org/github.com/influxdata/go-syslog) + +The [docs](docs/) directory contains `.dot` files representing the FSM parts of a [RFC5424](https://tools.ietf.org/html/rfc5424) syslog message and also the ones representing the other transport parsers. + +## Usage + +Suppose you want to parse a given sequence of bytes as a RFC5424 message. + +```go +i := []byte(`<165>4 2018-10-11T22:14:15.003Z mymach.it e - 1 [ex@32473 iut="3"] An application event log entry...`) +p := rfc5424.NewParser() +m, e := p.Parse(i, nil) +``` + +This results in `m` being equal to: + +```go +// (*rfc5424.SyslogMessage)({ +// priority: (*uint8)(165), +// facility: (*uint8)(20), +// severity: (*uint8)(5), +// version: (uint16) 4, +// timestamp: (*time.Time)(2018-10-11 22:14:15.003 +0000 UTC), +// hostname: (*string)((len=9) "mymach.it"), +// appname: (*string)((len=1) "e"), +// procID: (*string)(), +// msgID: (*string)((len=1) "1"), +// structuredData: (*map[string]map[string]string)((len=1) { +// (string) (len=8) "ex@32473": (map[string]string) (len=1) { +// (string) (len=3) "iut": (string) (len=1) "3" +// } +// }), +// message: (*string)((len=33) "An application event log entry...") +// }) +``` + +And `e` being equal to `nil`, since the `i` is a perfectly valid RFC5424 message. + +### Best effort mode + +RFC5424 parser has the ability to perform partial matches (until it can). + +With this mode enabled, when the parsing process errors out it returns the message collected until that position, and the error that caused the parser to stop. + +Notice that in this modality the output is returned _iff_ it represents a minimally valid message - ie., a message containing almost a priority field in `[1,191]` within angular brackets, followed by a version in `]0,999]`. + +Let's look at an example. + +```go +bestEffortOn := true +i := []byte("<1>1 A - - - - - -") +p := NewParser() +m, e := p.Parse(i, &bestEffortOn) +``` + +This results in `m` being equal to the following `SyslogMessage` instance. + +```go +// (*rfc5424.SyslogMessage)({ +// priority: (*uint8)(1), +// facility: (*uint8)(0), +// severity: (*uint8)(1), +// version: (uint16) 1, +// timestamp: (*time.Time)(), +// hostname: (*string)(), +// appname: (*string)(), +// procID: (*string)(), +// msgID: (*string)(), +// structuredData: (*map[string]map[string]string)(), +// message: (*string)() +// }) +``` + +And, at the same time, in `e` reporting the error that actually stopped the parser. + +```go +expecting a RFC3339MICRO timestamp or a nil value [col 5] +``` + +Both `m` and `e` have a value since at the column the parser stopped it already was able to construct a minimally valid `SyslogMessage`. + +### Builder + +This library also provides a builder to construct valid syslog messages. + +Notice that its API ignores input values that does not match the grammar. + +Let's have a look to an example. + +```go +msg := &SyslogMessage{} +msg.SetTimestamp("not a RFC3339MICRO timestamp") +msg.Valid() // Not yet a valid message (try msg.Valid()) +msg.SetPriority(191) +msg.SetVersion(1) +msg.Valid() // Now it is minimally valid +``` + +Printing `msg` you will verify it contains a `nil` timestamp (since an invalid one has been given). + +```go +// (*rfc5424.SyslogMessage)({ +// priority: (*uint8)(191), +// facility: (*uint8)(23), +// severity: (*uint8)(7), +// version: (uint16) 1, +// timestamp: (*time.Time)(), +// hostname: (*string)(), +// appname: (*string)(), +// procID: (*string)(), +// msgID: (*string)(), +// structuredData: (*map[string]map[string]string)(), +// message: (*string)() +// }) +``` + +Finally you can serialize the message into a string. + +```go +str, _ := msg.String() +// <191>1 - - - - - - +``` + +## Message transfer + +Excluding encapsulating one message for packet in packet protocols there are two ways to transfer syslog messages over streams. + +The older - ie., the **non-transparent** framing - and the newer one - ie., the **octet counting** framing - which is reliable and has not been seen to cause problems noted with the non-transparent one. + +This library provide stream parsers for both. + +### Octet counting + +In short, [RFC5425](https://tools.ietf.org/html/rfc5425#section-4.3) and [RFC6587](), aside from the protocol considerations, describe a **transparent framing** technique for syslog messages that uses the **octect counting** technique - ie., the message lenght of the incoming message. + +Each syslog message is sent with a prefix representing the number of bytes it is made of. + +This [package](./octetcounting) parses messages stream following such rule. + +To quickly understand how to use it please have a look at the [example file](./octetcounting/example_test.go). + +### Non transparent + +The [RFC6587](https://tools.ietf.org/html/rfc6587#section-3.4.2) also describes the **non-transparent framing** transport of syslog messages. + +In such case the messages are separated by a trailer, usually a line feed. + +This [package](./nontransparent) parses message stream following such [technique](https://tools.ietf.org/html/rfc6587#section-3.4.2). + +To quickly understand how to use it please have a look at the [example file](./nontransparent/example_test.go). + +Things we do not support: + +- trailers other than `LF` or `NUL` +- trailer which length is greater than 1 byte +- trailer change on a frame-by-frame basis + +## Performances + +To run the benchmark execute the following command. + +```bash +make bench +``` + +On my machine[1](#mymachine) this are the results obtained in best effort mode. + +``` +[no]_empty_input__________________________________-4 30000000 253 ns/op 224 B/op 3 allocs/op +[no]_multiple_syslog_messages_on_multiple_lines___-4 20000000 433 ns/op 304 B/op 12 allocs/op +[no]_impossible_timestamp_________________________-4 10000000 1080 ns/op 528 B/op 11 allocs/op +[no]_malformed_structured_data____________________-4 20000000 552 ns/op 400 B/op 12 allocs/op +[no]_with_duplicated_structured_data_id___________-4 5000000 1246 ns/op 688 B/op 17 allocs/op +[ok]_minimal______________________________________-4 30000000 264 ns/op 247 B/op 9 allocs/op +[ok]_average_message______________________________-4 5000000 1984 ns/op 1536 B/op 26 allocs/op +[ok]_complicated_message__________________________-4 5000000 1644 ns/op 1280 B/op 25 allocs/op +[ok]_very_long_message____________________________-4 2000000 3826 ns/op 2464 B/op 28 allocs/op +[ok]_all_max_length_and_complete__________________-4 3000000 2792 ns/op 1888 B/op 28 allocs/op +[ok]_all_max_length_except_structured_data_and_mes-4 5000000 1830 ns/op 883 B/op 13 allocs/op +[ok]_minimal_with_message_containing_newline______-4 20000000 294 ns/op 250 B/op 10 allocs/op +[ok]_w/o_procid,_w/o_structured_data,_with_message-4 10000000 956 ns/op 364 B/op 11 allocs/op +[ok]_minimal_with_UTF-8_message___________________-4 20000000 586 ns/op 359 B/op 10 allocs/op +[ok]_with_structured_data_id,_w/o_structured_data_-4 10000000 998 ns/op 592 B/op 14 allocs/op +[ok]_with_multiple_structured_data________________-4 5000000 1538 ns/op 1232 B/op 22 allocs/op +[ok]_with_escaped_backslash_within_structured_data-4 5000000 1316 ns/op 920 B/op 20 allocs/op +[ok]_with_UTF-8_structured_data_param_value,_with_-4 5000000 1580 ns/op 1050 B/op 21 allocs/op +``` + +As you can see it takes: + +* ~250ns to parse the smallest legal message + +* ~2µs to parse an average legal message + +* ~4µs to parse a very long legal message + +Other RFC5424 implementations, like this [one](https://github.com/roguelazer/rust-syslog-rfc5424) in Rust, spend 8µs to parse an average legal message. + +_TBD: comparation against other golang parsers_. + +--- + +* [1]: Intel Core i7-7600U CPU @ 2.80GHz \ No newline at end of file diff --git a/vendor/github.com/influxdata/go-syslog/v2/common/common.rl b/vendor/github.com/influxdata/go-syslog/v2/common/common.rl new file mode 100644 index 000000000000..5930440ab950 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/common/common.rl @@ -0,0 +1,81 @@ +%%{ +machine common; + +# whitespace +sp = ' '; + +# closing square bracket +csb = ']'; + +# double quote +dq = '"'; + +# backslash +bs = 0x5C; + +# ", ], \ +toescape = (dq | csb | bs); + +# 0..59 +sexagesimal = '0'..'5' . '0'..'9'; + +# 01..31 +datemday = ('0' . '1'..'9' | '1'..'2' . '0'..'9' | '3' . '0'..'1'); + +# 01..12 +datemonth = ('0' . '1'..'9' | '1' . '0'..'2'); + +datefullyear = digit{4}; + +fulldate = datefullyear '-' datemonth '-' datemday; + +# 01..23 +timehour = ('0'..'1' . '0'..'9' | '2' . '0'..'3'); + +timeminute = sexagesimal; + +timesecond = sexagesimal; + +timesecfrac = '.' digit{1,6}; + +timenumoffset = ('+' | '-') timehour ':' timeminute; + +timeoffset = 'Z' | timenumoffset; + +partialtime = timehour ':' timeminute ':' timesecond . timesecfrac?; + +fulltime = partialtime . timeoffset; + +printusascii = '!'..'~'; + +hostnamerange = printusascii{1,255}; + +appnamerange = printusascii{1,48}; + +procidrange = printusascii{1,128}; + +msgidrange = printusascii{1,32}; + +sdname = (printusascii - ('=' | sp | csb | dq)){1,32}; + +# rfc 3629 +utf8tail = 0x80..0xBF; + +utf81 = 0x00..0x7F; + +utf82 = 0xC2..0xDF utf8tail; + +utf83 = 0xE0 0xA0..0xBF utf8tail | 0xE1..0xEC utf8tail{2} | 0xED 0x80..0x9F utf8tail | 0xEE..0xEF utf8tail{2}; + +utf84 = 0xF0 0x90..0xBF utf8tail{2} | 0xF1..0xF3 utf8tail{3} | 0xF4 0x80..0x8F utf8tail{2}; + +utf8char = utf81 | utf82 | utf83 | utf84; + +utf8octets = utf8char*; + +bom = 0xEF 0xBB 0xBF; + +# utf8char except ", ], \ +utf8charwodelims = utf8char - toescape; + +}%% \ No newline at end of file diff --git a/vendor/github.com/influxdata/go-syslog/v2/common/functions.go b/vendor/github.com/influxdata/go-syslog/v2/common/functions.go new file mode 100644 index 000000000000..e24a00edea38 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/common/functions.go @@ -0,0 +1,42 @@ +package common + +// UnsafeUTF8DecimalCodePointsToInt converts a slice containing +// a series of UTF-8 decimal code points into their integer rapresentation. +// +// It assumes input code points are in the range 48-57. +// Returns a pointer since an empty slice is equal to nil and not to the zero value of the codomain (ie., `int`). +func UnsafeUTF8DecimalCodePointsToInt(chars []uint8) int { + out := 0 + ord := 1 + for i := len(chars) - 1; i >= 0; i-- { + curchar := int(chars[i]) + out += (curchar - '0') * ord + ord *= 10 + } + return out +} + +// RemoveBytes removes byte at given positions from data byte slice, starting from the given offset. +func RemoveBytes(data []byte, positions []int, offset int) []byte { + // We need a copy here to not modify original data + cp := append([]byte(nil), data...) + for i, pos := range positions { + at := pos - i - offset + cp = append(cp[:at], cp[(at+1):]...) + } + return cp +} + +// EscapeBytes adds a backslash to \, ], " characters. +func EscapeBytes(value string) string { + res := "" + for i, c := range value { + // todo(leodido): generalize byte codes (the function should ideally accept a byte slice containing byte codes to escape) + if c == 92 || c == 93 || c == 34 { + res += `\` + } + res += string(value[i]) + } + + return res +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/go.mod b/vendor/github.com/influxdata/go-syslog/v2/go.mod new file mode 100644 index 000000000000..37469c3b63c8 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/go.mod @@ -0,0 +1,8 @@ +module github.com/influxdata/go-syslog/v2 + +require ( + github.com/davecgh/go-spew v1.1.1 + github.com/leodido/ragel-machinery v0.0.0-20181214104525-299bdde78165 + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/stretchr/testify v1.2.2 +) diff --git a/vendor/github.com/influxdata/go-syslog/v2/go.sum b/vendor/github.com/influxdata/go-syslog/v2/go.sum new file mode 100644 index 000000000000..90c6e5701488 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/go.sum @@ -0,0 +1,10 @@ +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/leodido/ragel-machinery v0.0.0-20181214104525-299bdde78165 h1:bCiVCRCs1Heq84lurVinUPy19keqGEe4jh5vtK37jcg= +github.com/leodido/ragel-machinery v0.0.0-20181214104525-299bdde78165/go.mod h1:WZxr2/6a/Ar9bMDc2rN/LJrE/hF6bXE4LPyDSIxwAfg= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= diff --git a/vendor/github.com/influxdata/go-syslog/v2/makefile b/vendor/github.com/influxdata/go-syslog/v2/makefile new file mode 100644 index 000000000000..897e0a741a29 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/makefile @@ -0,0 +1,115 @@ +SHELL := /bin/bash +RAGEL := ragel -I common + +export GO_TEST=env GOTRACEBACK=all GO111MODULE=on go test $(GO_ARGS) + +.PHONY: build +build: rfc5424/machine.go rfc5424/builder.go nontransparent/parser.go + @gofmt -w -s ./rfc5424 + @gofmt -w -s ./octetcounting + @gofmt -w -s ./nontransparent + +rfc5424/machine.go: rfc5424/machine.go.rl common/common.rl + +rfc5424/builder.go: rfc5424/builder.go.rl common/common.rl + +rfc5424/builder.go rfc5424/machine.go: + $(RAGEL) -Z -G2 -e -o $@ $< + @sed -i '/^\/\/line/d' $@ + $(MAKE) file=$@ snake2camel + +nontransparent/parser.go: nontransparent/parser.go.rl + $(RAGEL) -Z -G2 -e -o $@ $< + @sed -i '/^\/\/line/d' $@ + $(MAKE) file=$@ snake2camel + +.PHONY: snake2camel +snake2camel: + @awk -i inplace '{ \ + while ( match($$0, /(.*)([a-z]+[0-9]*)_([a-zA-Z0-9])(.*)/, cap) ) \ + $$0 = cap[1] cap[2] toupper(cap[3]) cap[4]; \ + print \ + }' $(file) + +.PHONY: bench +bench: rfc5424/*_test.go rfc5424/machine.go + go test -bench=. -benchmem -benchtime=5s ./... + +.PHONY: tests +tests: + $(GO_TEST) ./... + +docs/nontransparent.dot: nontransparent/parser.go.rl + $(RAGEL) -Z -Vp $< -o $@ + +docs/rfc5424.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp $< -o $@ + +docs/rfc5424_pri.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M pri $< -o $@ + +docs/rfc5424_pri.png: docs/rfc5424_pri.dot + dot $< -Tpng -o $@ + +docs/rfc5424_version.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M version $< -o $@ + +docs/rfc5424_version.png: docs/rfc5424_version.dot + dot $< -Tpng -o $@ + +docs/rfc5424_timestamp.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M timestamp $< -o $@ + +docs/rfc5424_timestamp.png: docs/rfc5424_timestamp.dot + dot $< -Tpng -o $@ + +docs/rfc5424_hostname.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M hostname $< -o $@ + +docs/rfc5424_hostname.png: docs/rfc5424_hostname.dot + dot $< -Tpng -o $@ + +docs/rfc5424_appname.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M appname $< -o $@ + +docs/rfc5424_appname.png: docs/rfc5424_appname.dot + dot $< -Tpng -o $@ + +docs/rfc5424_procid.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M procid $< -o $@ + +docs/rfc5424_procid.png: docs/rfc5424_procid.dot + dot $< -Tpng -o $@ + +docs/rfc5424_msgid.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M msgid $< -o $@ + +docs/rfc5424_msgid.png: docs/rfc5424_msgid.dot + dot $< -Tpng -o $@ + +docs/rfc5424_structureddata.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M structureddata $< -o $@ + +docs/rfc5424_structureddata.png: docs/rfc5424_structureddata.dot + dot $< -Tpng -o $@ + +docs/rfc5424_msg.dot: rfc5424/machine.go.rl common/common.rl + $(RAGEL) -Z -Vp -M msg $< -o $@ + +docs/rfc5424_msg.png: docs/rfc5424_msg.dot + dot $< -Tpng -o $@ + +docs: + @mkdir -p docs + +.PHONY: dots +dots: docs + $(MAKE) -s docs/rfc5424.dot docs/nontransparent.dot docs/rfc5424_pri.dot docs/rfc5424_version.dot docs/rfc5424_timestamp.dot docs/rfc5424_hostname.dot docs/rfc5424_appname.dot docs/rfc5424_procid.dot docs/rfc5424_msgid.dot docs/rfc5424_structureddata.dot docs/rfc5424_msg.dot + +.PHONY: graph +graph: dots docs/rfc5424_pri.png docs/rfc5424_version.png docs/rfc5424_timestamp.png docs/rfc5424_hostname.png docs/rfc5424_appname.png docs/rfc5424_procid.png docs/rfc5424_msgid.png docs/rfc5424_structureddata.png docs/rfc5424_msg.png + +.PHONY: clean +clean: rfc5424/machine.go nontransparent/parser.go + @rm -f $? + @rm -rf docs diff --git a/vendor/github.com/influxdata/go-syslog/v2/nontransparent/parser.go b/vendor/github.com/influxdata/go-syslog/v2/nontransparent/parser.go new file mode 100644 index 000000000000..937e012a2d95 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/nontransparent/parser.go @@ -0,0 +1,269 @@ +package nontransparent + +import ( + "io" + + syslog "github.com/influxdata/go-syslog/v2" + "github.com/influxdata/go-syslog/v2/rfc5424" + parser "github.com/leodido/ragel-machinery/parser" +) + +const nontransparentStart int = 1 +const nontransparentError int = 0 + +const nontransparentEnMain int = 1 + +type machine struct { + trailertyp TrailerType // default is 0 thus TrailerType(LF) + trailer byte + candidate []byte + bestEffort bool + internal syslog.Machine + emit syslog.ParserListener + readError error + lastChunk []byte // store last candidate message also if it does not ends with a trailer +} + +// Exec implements the ragel.Parser interface. +func (m *machine) Exec(s *parser.State) (int, int) { + // Retrieve previously stored parsing variables + cs, p, pe, eof, data := s.Get() + + { + var _widec int16 + if p == pe { + goto _testEof + } + switch cs { + case 1: + goto stCase1 + case 0: + goto stCase0 + case 2: + goto stCase2 + case 3: + goto stCase3 + } + goto stOut + stCase1: + if data[p] == 60 { + goto tr0 + } + goto st0 + stCase0: + st0: + cs = 0 + goto _out + tr0: + + if len(m.candidate) > 0 { + m.process() + } + m.candidate = make([]byte, 0) + + goto st2 + st2: + if p++; p == pe { + goto _testEof2 + } + stCase2: + _widec = int16(data[p]) + switch { + case data[p] > 0: + if 10 <= data[p] && data[p] <= 10 { + _widec = 256 + (int16(data[p]) - 0) + if m.trailertyp == LF { + _widec += 256 + } + } + default: + _widec = 768 + (int16(data[p]) - 0) + if m.trailertyp == NUL { + _widec += 256 + } + } + switch _widec { + case 266: + goto st2 + case 522: + goto tr3 + case 768: + goto st2 + case 1024: + goto tr3 + } + switch { + case _widec > 9: + if 11 <= _widec { + goto st2 + } + case _widec >= 1: + goto st2 + } + goto st0 + tr3: + + m.candidate = append(m.candidate, data...) + + goto st3 + st3: + if p++; p == pe { + goto _testEof3 + } + stCase3: + _widec = int16(data[p]) + switch { + case data[p] > 0: + if 10 <= data[p] && data[p] <= 10 { + _widec = 256 + (int16(data[p]) - 0) + if m.trailertyp == LF { + _widec += 256 + } + } + default: + _widec = 768 + (int16(data[p]) - 0) + if m.trailertyp == NUL { + _widec += 256 + } + } + switch _widec { + case 60: + goto tr0 + case 266: + goto st2 + case 522: + goto tr3 + case 768: + goto st2 + case 1024: + goto tr3 + } + switch { + case _widec > 9: + if 11 <= _widec { + goto st2 + } + case _widec >= 1: + goto st2 + } + goto st0 + stOut: + _testEof2: + cs = 2 + goto _testEof + _testEof3: + cs = 3 + goto _testEof + + _testEof: + { + } + _out: + { + } + } + + // Update parsing variables + s.Set(cs, p, pe, eof) + return p, pe +} + +func (m *machine) OnErr(chunk []byte, err error) { + // Store the last chunk of bytes ending without a trailer - ie., unexpected EOF from the reader + m.lastChunk = chunk + m.readError = err +} + +func (m *machine) OnEOF(chunk []byte) { +} + +func (m *machine) OnCompletion() { + if len(m.candidate) > 0 { + m.process() + } + // Try to parse last chunk as a candidate + if m.readError != nil && len(m.lastChunk) > 0 { + res, err := m.internal.Parse(m.lastChunk) + if err == nil { + err = m.readError + } + m.emit(&syslog.Result{ + Message: res, + Error: err, + }) + } +} + +// NewParser returns a syslog.Parser suitable to parse syslog messages sent with non-transparent framing - ie. RFC 6587. +func NewParser(options ...syslog.ParserOption) syslog.Parser { + m := &machine{ + emit: func(*syslog.Result) { /* noop */ }, + } + + for _, opt := range options { + m = opt(m).(*machine) + } + + // No error can happens since during its setting we check the trailer type passed in + trailer, _ := m.trailertyp.Value() + m.trailer = byte(trailer) + + // Create internal parser depending on options + if m.bestEffort { + m.internal = rfc5424.NewMachine(rfc5424.WithBestEffort()) + } else { + m.internal = rfc5424.NewMachine() + } + + return m +} + +// HasBestEffort tells whether the receiving parser has best effort mode on or off. +func (m *machine) HasBestEffort() bool { + return m.bestEffort +} + +// WithTrailer ... todo(leodido) +func WithTrailer(t TrailerType) syslog.ParserOption { + return func(m syslog.Parser) syslog.Parser { + if val, err := t.Value(); err == nil { + m.(*machine).trailer = byte(val) + m.(*machine).trailertyp = t + } + return m + } +} + +// WithBestEffort implements the syslog.BestEfforter interface. +// +// The generic options uses it. +func (m *machine) WithBestEffort() { + m.bestEffort = true +} + +// WithListener implements the syslog.Parser interface. +// +// The generic options uses it. +func (m *machine) WithListener(f syslog.ParserListener) { + m.emit = f +} + +// Parse parses the io.Reader incoming bytes. +// +// It stops parsing when an error regarding RFC 6587 is found. +func (m *machine) Parse(reader io.Reader) { + r := parser.ArbitraryReader(reader, m.trailer) + parser.New(r, m, parser.WithStart(1)).Parse() +} + +func (m *machine) process() { + lastByte := len(m.candidate) - 1 + if m.candidate[lastByte] == m.trailer { + m.candidate = m.candidate[:lastByte] + } + res, err := m.internal.Parse(m.candidate) + m.emit(&syslog.Result{ + Message: res, + Error: err, + }) +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/nontransparent/parser.go.rl b/vendor/github.com/influxdata/go-syslog/v2/nontransparent/parser.go.rl new file mode 100644 index 000000000000..67e7f700ef1b --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/nontransparent/parser.go.rl @@ -0,0 +1,163 @@ +package nontransparent + +import ( + "io" + + parser "github.com/leodido/ragel-machinery/parser" + syslog "github.com/influxdata/go-syslog/v2" + "github.com/influxdata/go-syslog/v2/rfc5424" +) + +%%{ +machine nontransparent; + +# unsigned alphabet +alphtype uint8; + +action on_trailer { + m.candidate = append(m.candidate, data...) +} + +action on_init { + if len(m.candidate) > 0 { + m.process() + } + m.candidate = make([]byte, 0) +} + +t = 10 when { m.trailertyp == LF } | + 00 when { m.trailertyp == NUL }; + +main := + start: ( + '<' >on_init (any)* -> trailer + ), + trailer: ( + t >on_trailer -> final | + t >on_trailer -> start + ); + +}%% + +%% write data nofinal; + +type machine struct{ + trailertyp TrailerType // default is 0 thus TrailerType(LF) + trailer byte + candidate []byte + bestEffort bool + internal syslog.Machine + emit syslog.ParserListener + readError error + lastChunk []byte // store last candidate message also if it does not ends with a trailer +} + +// Exec implements the ragel.Parser interface. +func (m *machine) Exec(s *parser.State) (int, int) { + // Retrieve previously stored parsing variables + cs, p, pe, eof, data := s.Get() + %% write exec; + // Update parsing variables + s.Set(cs, p, pe, eof) + return p, pe +} + +func (m *machine) OnErr(chunk []byte, err error) { + // Store the last chunk of bytes ending without a trailer - ie., unexpected EOF from the reader + m.lastChunk = chunk + m.readError = err +} + +func (m *machine) OnEOF(chunk []byte) { +} + +func (m *machine) OnCompletion() { + if len(m.candidate) > 0 { + m.process() + } + // Try to parse last chunk as a candidate + if m.readError != nil && len(m.lastChunk) > 0 { + res, err := m.internal.Parse(m.lastChunk) + if err == nil { + err = m.readError + } + m.emit(&syslog.Result{ + Message: res, + Error: err, + }) + } +} + +// NewParser returns a syslog.Parser suitable to parse syslog messages sent with non-transparent framing - ie. RFC 6587. +func NewParser(options ...syslog.ParserOption) syslog.Parser { + m := &machine{ + emit: func(*syslog.Result) { /* noop */ }, + } + + for _, opt := range options { + m = opt(m).(*machine) + } + + // No error can happens since during its setting we check the trailer type passed in + trailer, _ := m.trailertyp.Value() + m.trailer = byte(trailer) + + // Create internal parser depending on options + if m.bestEffort { + m.internal = rfc5424.NewMachine(rfc5424.WithBestEffort()) + } else { + m.internal = rfc5424.NewMachine() + } + + return m +} + +// HasBestEffort tells whether the receiving parser has best effort mode on or off. +func (m *machine) HasBestEffort() bool { + return m.bestEffort +} + +// WithTrailer ... todo(leodido) +func WithTrailer(t TrailerType) syslog.ParserOption { + return func(m syslog.Parser) syslog.Parser { + if val, err := t.Value(); err == nil { + m.(*machine).trailer = byte(val) + m.(*machine).trailertyp = t + } + return m + } +} + +// WithBestEffort implements the syslog.BestEfforter interface. +// +// The generic options uses it. +func (m *machine) WithBestEffort() { + m.bestEffort = true +} + +// WithListener implements the syslog.Parser interface. +// +// The generic options uses it. +func (m *machine) WithListener(f syslog.ParserListener) { + m.emit = f +} + +// Parse parses the io.Reader incoming bytes. +// +// It stops parsing when an error regarding RFC 6587 is found. +func (m *machine) Parse(reader io.Reader) { + r := parser.ArbitraryReader(reader, m.trailer) + parser.New(r, m, parser.WithStart(%%{ write start; }%%)).Parse() +} + +func (m *machine) process() { + lastByte := len(m.candidate) - 1 + if m.candidate[lastByte] == m.trailer { + m.candidate = m.candidate[:lastByte] + } + res, err := m.internal.Parse(m.candidate) + m.emit(&syslog.Result{ + Message: res, + Error: err, + }) +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/nontransparent/trailer_type.go b/vendor/github.com/influxdata/go-syslog/v2/nontransparent/trailer_type.go new file mode 100644 index 000000000000..e377c9badc5f --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/nontransparent/trailer_type.go @@ -0,0 +1,76 @@ +package nontransparent + +import ( + "fmt" + "strings" +) + +// TrailerType is the king of supported trailers for non-transparent frames. +type TrailerType int + +const ( + // LF is the line feed - ie., byte 10. Also the default one. + LF TrailerType = iota + // NUL is the nul byte - ie., byte 0. + NUL +) + +var names = [...]string{"LF", "NUL"} +var bytes = []int{10, 0} + +func (t TrailerType) String() string { + if t < LF || t > NUL { + return "" + } + + return names[t] +} + +// Value returns the byte corresponding to the receiving TrailerType. +func (t TrailerType) Value() (int, error) { + if t < LF || t > NUL { + return -1, fmt.Errorf("unknown TrailerType") + } + + return bytes[t], nil +} + +// TrailerTypeFromString returns a TrailerType given a string. +func TrailerTypeFromString(s string) (TrailerType, error) { + switch strings.ToUpper(s) { + case `"LF"`: + fallthrough + case `'LF'`: + fallthrough + case `LF`: + return LF, nil + + case `"NUL"`: + fallthrough + case `'NUL'`: + fallthrough + case `NUL`: + return NUL, nil + } + return -1, fmt.Errorf("unknown TrailerType") +} + +// UnmarshalTOML decodes trailer type from TOML data. +func (t *TrailerType) UnmarshalTOML(data []byte) (err error) { + return t.UnmarshalText(data) +} + +// UnmarshalText implements encoding.TextUnmarshaler +func (t *TrailerType) UnmarshalText(data []byte) (err error) { + *t, err = TrailerTypeFromString(string(data)) + return err +} + +// MarshalText implements encoding.TextMarshaler +func (t TrailerType) MarshalText() ([]byte, error) { + s := t.String() + if s != "" { + return []byte(s), nil + } + return nil, fmt.Errorf("unknown TrailerType") +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/octetcounting/parser.go b/vendor/github.com/influxdata/go-syslog/v2/octetcounting/parser.go new file mode 100644 index 000000000000..b9546be77b43 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/octetcounting/parser.go @@ -0,0 +1,160 @@ +package octetcounting + +import ( + "fmt" + "io" + + syslog "github.com/influxdata/go-syslog/v2" + "github.com/influxdata/go-syslog/v2/rfc5424" +) + +// parser is capable to parse the input stream containing syslog messages with octetcounting framing. +// +// Use NewParser function to instantiate one. +type parser struct { + msglen int64 + s Scanner + internal syslog.Machine + last Token + stepback bool // Wheter to retrieve the last token or not + bestEffort bool // Best effort mode flag + emit syslog.ParserListener +} + +// NewParser returns a syslog.Parser suitable to parse syslog messages sent with transparent - ie. octet counting (RFC 5425) - framing. +func NewParser(opts ...syslog.ParserOption) syslog.Parser { + p := &parser{ + emit: func(*syslog.Result) { /* noop */ }, + } + + for _, opt := range opts { + p = opt(p).(*parser) + } + + // Create internal parser depending on options + if p.bestEffort { + p.internal = rfc5424.NewMachine(rfc5424.WithBestEffort()) + } else { + p.internal = rfc5424.NewMachine() + } + + return p +} + +// HasBestEffort tells whether the receiving parser has best effort mode on or off. +func (p *parser) HasBestEffort() bool { + return p.bestEffort +} + +// WithBestEffort implements the syslog.BestEfforter interface. +// +// The generic options uses it. +func (p *parser) WithBestEffort() { + p.bestEffort = true +} + +// WithListener implements the syslog.Parser interface. +// +// The generic options uses it. +func (p *parser) WithListener(f syslog.ParserListener) { + p.emit = f +} + +// Parse parses the io.Reader incoming bytes. +// +// It stops parsing when an error regarding RFC 5425 is found. +func (p *parser) Parse(r io.Reader) { + p.s = *NewScanner(r) + p.run() +} + +func (p *parser) run() { + for { + var tok Token + + // First token MUST be a MSGLEN + if tok = p.scan(); tok.typ != MSGLEN { + p.emit(&syslog.Result{ + Error: fmt.Errorf("found %s, expecting a %s", tok, MSGLEN), + }) + break + } + + // Next we MUST see a WS + if tok = p.scan(); tok.typ != WS { + p.emit(&syslog.Result{ + Error: fmt.Errorf("found %s, expecting a %s", tok, WS), + }) + break + } + + // Next we MUST see a SYSLOGMSG with length equal to MSGLEN + if tok = p.scan(); tok.typ != SYSLOGMSG { + e := fmt.Errorf(`found %s after "%s", expecting a %s containing %d octets`, tok, tok.lit, SYSLOGMSG, p.s.msglen) + // Underflow case + if len(tok.lit) < int(p.s.msglen) && p.bestEffort { + // Though MSGLEN was not respected, we try to parse the existing SYSLOGMSG as a RFC5424 syslog message + result := p.parse(tok.lit) + if result.Error == nil { + result.Error = e + } + p.emit(result) + break + } + + p.emit(&syslog.Result{ + Error: e, + }) + break + } + + // Parse the SYSLOGMSG literal pretending it is a RFC5424 syslog message + result := p.parse(tok.lit) + if p.bestEffort || result.Error == nil { + p.emit(result) + } + if !p.bestEffort && result.Error != nil { + p.emit(&syslog.Result{Error: result.Error}) + break + } + + // Next we MUST see an EOF otherwise the parsing we'll start again + if tok = p.scan(); tok.typ == EOF { + break + } else { + p.unscan() + } + } +} + +func (p *parser) parse(input []byte) *syslog.Result { + sys, err := p.internal.Parse(input) + + return &syslog.Result{ + Message: sys, + Error: err, + } +} + +// scan returns the next token from the underlying scanner; +// if a token has been unscanned then read that instead. +func (p *parser) scan() Token { + // If we have a token on the buffer, then return it. + if p.stepback { + p.stepback = false + return p.last + } + + // Otherwise read the next token from the scanner. + tok := p.s.Scan() + + // Save it to the buffer in case we unscan later. + p.last = tok + + return tok +} + +// unscan pushes the previously read token back onto the buffer. +func (p *parser) unscan() { + p.stepback = true +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/octetcounting/scanner.go b/vendor/github.com/influxdata/go-syslog/v2/octetcounting/scanner.go new file mode 100644 index 000000000000..015295fd4ca4 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/octetcounting/scanner.go @@ -0,0 +1,150 @@ +package octetcounting + +import ( + "bufio" + "bytes" + "io" + "strconv" +) + +// size as per RFC5425#section-4.3.1 +var size = 8192 + +// eof represents a marker byte for the end of the reader +var eof = byte(0) + +// ws represents the whitespace +var ws = byte(32) + +// lt represents the "<" character +var lt = byte(60) + +// isDigit returns true if the byte represents a number in [0,9] +func isDigit(ch byte) bool { + return (ch >= 47 && ch <= 57) +} + +// isNonZeroDigit returns true if the byte represents a number in ]0,9] +func isNonZeroDigit(ch byte) bool { + return (ch >= 48 && ch <= 57) +} + +// Scanner represents the lexical scanner for octet counting transport. +type Scanner struct { + r *bufio.Reader + msglen uint64 + ready bool +} + +// NewScanner returns a pointer to a new instance of Scanner. +func NewScanner(r io.Reader) *Scanner { + return &Scanner{ + r: bufio.NewReaderSize(r, size+5), // "8192 " has length 5 + } +} + +// read reads the next byte from the buffered reader +// it returns the byte(0) if an error occurs (or io.EOF is returned) +func (s *Scanner) read() byte { + b, err := s.r.ReadByte() + if err != nil { + return eof + } + return b +} + +// unread places the previously read byte back on the reader +func (s *Scanner) unread() { + _ = s.r.UnreadByte() +} + +// Scan returns the next token. +func (s *Scanner) Scan() (tok Token) { + // Read the next byte. + b := s.read() + + if isNonZeroDigit(b) { + s.unread() + s.ready = false + return s.scanMsgLen() + } + + // Otherwise read the individual character + switch b { + case eof: + s.ready = false + return Token{ + typ: EOF, + } + case ws: + s.ready = true + return Token{ + typ: WS, + lit: []byte{ws}, + } + case lt: + if s.msglen > 0 && s.ready { + s.unread() + return s.scanSyslogMsg() + } + } + + return Token{ + typ: ILLEGAL, + lit: []byte{b}, + } +} + +func (s *Scanner) scanMsgLen() Token { + // Create a buffer and read the current character into it + var buf bytes.Buffer + buf.WriteByte(s.read()) + + // Read every subsequent digit character into the buffer + // Non-digit characters and EOF will cause the loop to exit + for { + if b := s.read(); b == eof { + break + } else if !isDigit(b) { + s.unread() + break + } else { + buf.WriteByte(b) + } + } + + msglen := buf.String() + s.msglen, _ = strconv.ParseUint(msglen, 10, 64) + + // (todo) > return ILLEGAL if s.msglen > size (8192) + // (todo) > only when NOT in besteffort mode or always? + + return Token{ + typ: MSGLEN, + lit: buf.Bytes(), + } +} + +func (s *Scanner) scanSyslogMsg() Token { + // Check the reader contains almost MSGLEN characters + n := int(s.msglen) + b, err := s.r.Peek(n) + if err != nil { + return Token{ + typ: EOF, + lit: b, + } + } + // Advance the reader of MSGLEN characters + s.r.Discard(n) + + // Reset status + s.ready = false + s.msglen = 0 + + // Return SYSLOGMSG token + return Token{ + typ: SYSLOGMSG, + lit: b, + } +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/octetcounting/tokens.go b/vendor/github.com/influxdata/go-syslog/v2/octetcounting/tokens.go new file mode 100644 index 000000000000..18338451aa5a --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/octetcounting/tokens.go @@ -0,0 +1,45 @@ +package octetcounting + +import ( + "strconv" +) + +// Token represents a lexical token of the octetcounting. +type Token struct { + typ TokenType + lit []byte +} + +// TokenType represents a lexical token type of the octetcounting. +type TokenType int + +// Tokens +const ( + ILLEGAL TokenType = iota + EOF + WS + MSGLEN + SYSLOGMSG +) + +// String outputs the string representation of the receiving Token. +func (t Token) String() string { + switch t.typ { + case WS, EOF: + return t.typ.String() + default: + return t.typ.String() + "(" + string(t.lit) + ")" + } +} + +const tokentypename = "ILLEGALEOFWSMSGLENSYSLOGMSG" + +var tokentypeindex = [...]uint8{0, 7, 10, 12, 18, 27} + +// String outputs the string representation of the receiving TokenType. +func (i TokenType) String() string { + if i < 0 || i >= TokenType(len(tokentypeindex)-1) { + return "TokenType(" + strconv.FormatInt(int64(i), 10) + ")" + } + return tokentypename[tokentypeindex[i]:tokentypeindex[i+1]] +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/options.go b/vendor/github.com/influxdata/go-syslog/v2/options.go new file mode 100644 index 000000000000..551a0edeefa8 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/options.go @@ -0,0 +1,19 @@ +package syslog + +// WithListener returns a generic option that sets the emit function for syslog parsers. +func WithListener(f ParserListener) ParserOption { + return func(p Parser) Parser { + p.WithListener(f) + return p + } +} + +// WithBestEffort returns a generic options that enables best effort mode for syslog parsers. +// +// When passed to a parser it tries to recover as much of the syslog messages as possible. +func WithBestEffort() ParserOption { + return func(p Parser) Parser { + p.WithBestEffort() + return p + } +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/rfc5424/builder.go b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/builder.go new file mode 100644 index 000000000000..e73adc1be333 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/builder.go @@ -0,0 +1,9606 @@ +package rfc5424 + +import ( + "fmt" + "sort" + "time" + + "github.com/influxdata/go-syslog/v2/common" +) + +const builder_start int = 59 + +const builder_en_timestamp int = 8 +const builder_en_hostname int = 45 +const builder_en_appname int = 46 +const builder_en_procid int = 47 +const builder_en_msgid int = 48 +const builder_en_sdid int = 49 +const builder_en_sdpn int = 50 +const builder_en_sdpv int = 589 +const builder_en_msg int = 59 + +type entrypoint int + +const ( + timestamp entrypoint = iota + hostname + appname + procid + msgid + sdid + sdpn + sdpv + msg +) + +func (e entrypoint) translate() int { + switch e { + case timestamp: + return builder_en_timestamp + case hostname: + return builder_en_hostname + case appname: + return builder_en_appname + case procid: + return builder_en_procid + case msgid: + return builder_en_msgid + case sdid: + return builder_en_sdid + case sdpn: + return builder_en_sdpn + case sdpv: + return builder_en_sdpv + case msg: + return builder_en_msg + default: + return builder_start + } +} + +var currentid string +var currentparamname string + +func (sm *SyslogMessage) set(from entrypoint, value string) *SyslogMessage { + data := []byte(value) + p := 0 + pb := 0 + pe := len(data) + eof := len(data) + cs := from.translate() + backslashes := []int{} + + { + if p == pe { + goto _test_eof + } + switch cs { + case 59: + goto st_case_59 + case 60: + goto st_case_60 + case 0: + goto st_case_0 + case 1: + goto st_case_1 + case 2: + goto st_case_2 + case 3: + goto st_case_3 + case 4: + goto st_case_4 + case 5: + goto st_case_5 + case 6: + goto st_case_6 + case 7: + goto st_case_7 + case 8: + goto st_case_8 + case 9: + goto st_case_9 + case 10: + goto st_case_10 + case 11: + goto st_case_11 + case 12: + goto st_case_12 + case 13: + goto st_case_13 + case 14: + goto st_case_14 + case 15: + goto st_case_15 + case 16: + goto st_case_16 + case 17: + goto st_case_17 + case 18: + goto st_case_18 + case 19: + goto st_case_19 + case 20: + goto st_case_20 + case 21: + goto st_case_21 + case 22: + goto st_case_22 + case 23: + goto st_case_23 + case 24: + goto st_case_24 + case 25: + goto st_case_25 + case 26: + goto st_case_26 + case 27: + goto st_case_27 + case 28: + goto st_case_28 + case 29: + goto st_case_29 + case 30: + goto st_case_30 + case 31: + goto st_case_31 + case 32: + goto st_case_32 + case 61: + goto st_case_61 + case 33: + goto st_case_33 + case 34: + goto st_case_34 + case 35: + goto st_case_35 + case 36: + goto st_case_36 + case 37: + goto st_case_37 + case 38: + goto st_case_38 + case 39: + goto st_case_39 + case 40: + goto st_case_40 + case 41: + goto st_case_41 + case 42: + goto st_case_42 + case 43: + goto st_case_43 + case 44: + goto st_case_44 + case 45: + goto st_case_45 + case 62: + goto st_case_62 + case 63: + goto st_case_63 + case 64: + goto st_case_64 + case 65: + goto st_case_65 + case 66: + goto st_case_66 + case 67: + goto st_case_67 + case 68: + goto st_case_68 + case 69: + goto st_case_69 + case 70: + goto st_case_70 + case 71: + goto st_case_71 + case 72: + goto st_case_72 + case 73: + goto st_case_73 + case 74: + goto st_case_74 + case 75: + goto st_case_75 + case 76: + goto st_case_76 + case 77: + goto st_case_77 + case 78: + goto st_case_78 + case 79: + goto st_case_79 + case 80: + goto st_case_80 + case 81: + goto st_case_81 + case 82: + goto st_case_82 + case 83: + goto st_case_83 + case 84: + goto st_case_84 + case 85: + goto st_case_85 + case 86: + goto st_case_86 + case 87: + goto st_case_87 + case 88: + goto st_case_88 + case 89: + goto st_case_89 + case 90: + goto st_case_90 + case 91: + goto st_case_91 + case 92: + goto st_case_92 + case 93: + goto st_case_93 + case 94: + goto st_case_94 + case 95: + goto st_case_95 + case 96: + goto st_case_96 + case 97: + goto st_case_97 + case 98: + goto st_case_98 + case 99: + goto st_case_99 + case 100: + goto st_case_100 + case 101: + goto st_case_101 + case 102: + goto st_case_102 + case 103: + goto st_case_103 + case 104: + goto st_case_104 + case 105: + goto st_case_105 + case 106: + goto st_case_106 + case 107: + goto st_case_107 + case 108: + goto st_case_108 + case 109: + goto st_case_109 + case 110: + goto st_case_110 + case 111: + goto st_case_111 + case 112: + goto st_case_112 + case 113: + goto st_case_113 + case 114: + goto st_case_114 + case 115: + goto st_case_115 + case 116: + goto st_case_116 + case 117: + goto st_case_117 + case 118: + goto st_case_118 + case 119: + goto st_case_119 + case 120: + goto st_case_120 + case 121: + goto st_case_121 + case 122: + goto st_case_122 + case 123: + goto st_case_123 + case 124: + goto st_case_124 + case 125: + goto st_case_125 + case 126: + goto st_case_126 + case 127: + goto st_case_127 + case 128: + goto st_case_128 + case 129: + goto st_case_129 + case 130: + goto st_case_130 + case 131: + goto st_case_131 + case 132: + goto st_case_132 + case 133: + goto st_case_133 + case 134: + goto st_case_134 + case 135: + goto st_case_135 + case 136: + goto st_case_136 + case 137: + goto st_case_137 + case 138: + goto st_case_138 + case 139: + goto st_case_139 + case 140: + goto st_case_140 + case 141: + goto st_case_141 + case 142: + goto st_case_142 + case 143: + goto st_case_143 + case 144: + goto st_case_144 + case 145: + goto st_case_145 + case 146: + goto st_case_146 + case 147: + goto st_case_147 + case 148: + goto st_case_148 + case 149: + goto st_case_149 + case 150: + goto st_case_150 + case 151: + goto st_case_151 + case 152: + goto st_case_152 + case 153: + goto st_case_153 + case 154: + goto st_case_154 + case 155: + goto st_case_155 + case 156: + goto st_case_156 + case 157: + goto st_case_157 + case 158: + goto st_case_158 + case 159: + goto st_case_159 + case 160: + goto st_case_160 + case 161: + goto st_case_161 + case 162: + goto st_case_162 + case 163: + goto st_case_163 + case 164: + goto st_case_164 + case 165: + goto st_case_165 + case 166: + goto st_case_166 + case 167: + goto st_case_167 + case 168: + goto st_case_168 + case 169: + goto st_case_169 + case 170: + goto st_case_170 + case 171: + goto st_case_171 + case 172: + goto st_case_172 + case 173: + goto st_case_173 + case 174: + goto st_case_174 + case 175: + goto st_case_175 + case 176: + goto st_case_176 + case 177: + goto st_case_177 + case 178: + goto st_case_178 + case 179: + goto st_case_179 + case 180: + goto st_case_180 + case 181: + goto st_case_181 + case 182: + goto st_case_182 + case 183: + goto st_case_183 + case 184: + goto st_case_184 + case 185: + goto st_case_185 + case 186: + goto st_case_186 + case 187: + goto st_case_187 + case 188: + goto st_case_188 + case 189: + goto st_case_189 + case 190: + goto st_case_190 + case 191: + goto st_case_191 + case 192: + goto st_case_192 + case 193: + goto st_case_193 + case 194: + goto st_case_194 + case 195: + goto st_case_195 + case 196: + goto st_case_196 + case 197: + goto st_case_197 + case 198: + goto st_case_198 + case 199: + goto st_case_199 + case 200: + goto st_case_200 + case 201: + goto st_case_201 + case 202: + goto st_case_202 + case 203: + goto st_case_203 + case 204: + goto st_case_204 + case 205: + goto st_case_205 + case 206: + goto st_case_206 + case 207: + goto st_case_207 + case 208: + goto st_case_208 + case 209: + goto st_case_209 + case 210: + goto st_case_210 + case 211: + goto st_case_211 + case 212: + goto st_case_212 + case 213: + goto st_case_213 + case 214: + goto st_case_214 + case 215: + goto st_case_215 + case 216: + goto st_case_216 + case 217: + goto st_case_217 + case 218: + goto st_case_218 + case 219: + goto st_case_219 + case 220: + goto st_case_220 + case 221: + goto st_case_221 + case 222: + goto st_case_222 + case 223: + goto st_case_223 + case 224: + goto st_case_224 + case 225: + goto st_case_225 + case 226: + goto st_case_226 + case 227: + goto st_case_227 + case 228: + goto st_case_228 + case 229: + goto st_case_229 + case 230: + goto st_case_230 + case 231: + goto st_case_231 + case 232: + goto st_case_232 + case 233: + goto st_case_233 + case 234: + goto st_case_234 + case 235: + goto st_case_235 + case 236: + goto st_case_236 + case 237: + goto st_case_237 + case 238: + goto st_case_238 + case 239: + goto st_case_239 + case 240: + goto st_case_240 + case 241: + goto st_case_241 + case 242: + goto st_case_242 + case 243: + goto st_case_243 + case 244: + goto st_case_244 + case 245: + goto st_case_245 + case 246: + goto st_case_246 + case 247: + goto st_case_247 + case 248: + goto st_case_248 + case 249: + goto st_case_249 + case 250: + goto st_case_250 + case 251: + goto st_case_251 + case 252: + goto st_case_252 + case 253: + goto st_case_253 + case 254: + goto st_case_254 + case 255: + goto st_case_255 + case 256: + goto st_case_256 + case 257: + goto st_case_257 + case 258: + goto st_case_258 + case 259: + goto st_case_259 + case 260: + goto st_case_260 + case 261: + goto st_case_261 + case 262: + goto st_case_262 + case 263: + goto st_case_263 + case 264: + goto st_case_264 + case 265: + goto st_case_265 + case 266: + goto st_case_266 + case 267: + goto st_case_267 + case 268: + goto st_case_268 + case 269: + goto st_case_269 + case 270: + goto st_case_270 + case 271: + goto st_case_271 + case 272: + goto st_case_272 + case 273: + goto st_case_273 + case 274: + goto st_case_274 + case 275: + goto st_case_275 + case 276: + goto st_case_276 + case 277: + goto st_case_277 + case 278: + goto st_case_278 + case 279: + goto st_case_279 + case 280: + goto st_case_280 + case 281: + goto st_case_281 + case 282: + goto st_case_282 + case 283: + goto st_case_283 + case 284: + goto st_case_284 + case 285: + goto st_case_285 + case 286: + goto st_case_286 + case 287: + goto st_case_287 + case 288: + goto st_case_288 + case 289: + goto st_case_289 + case 290: + goto st_case_290 + case 291: + goto st_case_291 + case 292: + goto st_case_292 + case 293: + goto st_case_293 + case 294: + goto st_case_294 + case 295: + goto st_case_295 + case 296: + goto st_case_296 + case 297: + goto st_case_297 + case 298: + goto st_case_298 + case 299: + goto st_case_299 + case 300: + goto st_case_300 + case 301: + goto st_case_301 + case 302: + goto st_case_302 + case 303: + goto st_case_303 + case 304: + goto st_case_304 + case 305: + goto st_case_305 + case 306: + goto st_case_306 + case 307: + goto st_case_307 + case 308: + goto st_case_308 + case 309: + goto st_case_309 + case 310: + goto st_case_310 + case 311: + goto st_case_311 + case 312: + goto st_case_312 + case 313: + goto st_case_313 + case 314: + goto st_case_314 + case 315: + goto st_case_315 + case 316: + goto st_case_316 + case 46: + goto st_case_46 + case 317: + goto st_case_317 + case 318: + goto st_case_318 + case 319: + goto st_case_319 + case 320: + goto st_case_320 + case 321: + goto st_case_321 + case 322: + goto st_case_322 + case 323: + goto st_case_323 + case 324: + goto st_case_324 + case 325: + goto st_case_325 + case 326: + goto st_case_326 + case 327: + goto st_case_327 + case 328: + goto st_case_328 + case 329: + goto st_case_329 + case 330: + goto st_case_330 + case 331: + goto st_case_331 + case 332: + goto st_case_332 + case 333: + goto st_case_333 + case 334: + goto st_case_334 + case 335: + goto st_case_335 + case 336: + goto st_case_336 + case 337: + goto st_case_337 + case 338: + goto st_case_338 + case 339: + goto st_case_339 + case 340: + goto st_case_340 + case 341: + goto st_case_341 + case 342: + goto st_case_342 + case 343: + goto st_case_343 + case 344: + goto st_case_344 + case 345: + goto st_case_345 + case 346: + goto st_case_346 + case 347: + goto st_case_347 + case 348: + goto st_case_348 + case 349: + goto st_case_349 + case 350: + goto st_case_350 + case 351: + goto st_case_351 + case 352: + goto st_case_352 + case 353: + goto st_case_353 + case 354: + goto st_case_354 + case 355: + goto st_case_355 + case 356: + goto st_case_356 + case 357: + goto st_case_357 + case 358: + goto st_case_358 + case 359: + goto st_case_359 + case 360: + goto st_case_360 + case 361: + goto st_case_361 + case 362: + goto st_case_362 + case 363: + goto st_case_363 + case 364: + goto st_case_364 + case 47: + goto st_case_47 + case 365: + goto st_case_365 + case 366: + goto st_case_366 + case 367: + goto st_case_367 + case 368: + goto st_case_368 + case 369: + goto st_case_369 + case 370: + goto st_case_370 + case 371: + goto st_case_371 + case 372: + goto st_case_372 + case 373: + goto st_case_373 + case 374: + goto st_case_374 + case 375: + goto st_case_375 + case 376: + goto st_case_376 + case 377: + goto st_case_377 + case 378: + goto st_case_378 + case 379: + goto st_case_379 + case 380: + goto st_case_380 + case 381: + goto st_case_381 + case 382: + goto st_case_382 + case 383: + goto st_case_383 + case 384: + goto st_case_384 + case 385: + goto st_case_385 + case 386: + goto st_case_386 + case 387: + goto st_case_387 + case 388: + goto st_case_388 + case 389: + goto st_case_389 + case 390: + goto st_case_390 + case 391: + goto st_case_391 + case 392: + goto st_case_392 + case 393: + goto st_case_393 + case 394: + goto st_case_394 + case 395: + goto st_case_395 + case 396: + goto st_case_396 + case 397: + goto st_case_397 + case 398: + goto st_case_398 + case 399: + goto st_case_399 + case 400: + goto st_case_400 + case 401: + goto st_case_401 + case 402: + goto st_case_402 + case 403: + goto st_case_403 + case 404: + goto st_case_404 + case 405: + goto st_case_405 + case 406: + goto st_case_406 + case 407: + goto st_case_407 + case 408: + goto st_case_408 + case 409: + goto st_case_409 + case 410: + goto st_case_410 + case 411: + goto st_case_411 + case 412: + goto st_case_412 + case 413: + goto st_case_413 + case 414: + goto st_case_414 + case 415: + goto st_case_415 + case 416: + goto st_case_416 + case 417: + goto st_case_417 + case 418: + goto st_case_418 + case 419: + goto st_case_419 + case 420: + goto st_case_420 + case 421: + goto st_case_421 + case 422: + goto st_case_422 + case 423: + goto st_case_423 + case 424: + goto st_case_424 + case 425: + goto st_case_425 + case 426: + goto st_case_426 + case 427: + goto st_case_427 + case 428: + goto st_case_428 + case 429: + goto st_case_429 + case 430: + goto st_case_430 + case 431: + goto st_case_431 + case 432: + goto st_case_432 + case 433: + goto st_case_433 + case 434: + goto st_case_434 + case 435: + goto st_case_435 + case 436: + goto st_case_436 + case 437: + goto st_case_437 + case 438: + goto st_case_438 + case 439: + goto st_case_439 + case 440: + goto st_case_440 + case 441: + goto st_case_441 + case 442: + goto st_case_442 + case 443: + goto st_case_443 + case 444: + goto st_case_444 + case 445: + goto st_case_445 + case 446: + goto st_case_446 + case 447: + goto st_case_447 + case 448: + goto st_case_448 + case 449: + goto st_case_449 + case 450: + goto st_case_450 + case 451: + goto st_case_451 + case 452: + goto st_case_452 + case 453: + goto st_case_453 + case 454: + goto st_case_454 + case 455: + goto st_case_455 + case 456: + goto st_case_456 + case 457: + goto st_case_457 + case 458: + goto st_case_458 + case 459: + goto st_case_459 + case 460: + goto st_case_460 + case 461: + goto st_case_461 + case 462: + goto st_case_462 + case 463: + goto st_case_463 + case 464: + goto st_case_464 + case 465: + goto st_case_465 + case 466: + goto st_case_466 + case 467: + goto st_case_467 + case 468: + goto st_case_468 + case 469: + goto st_case_469 + case 470: + goto st_case_470 + case 471: + goto st_case_471 + case 472: + goto st_case_472 + case 473: + goto st_case_473 + case 474: + goto st_case_474 + case 475: + goto st_case_475 + case 476: + goto st_case_476 + case 477: + goto st_case_477 + case 478: + goto st_case_478 + case 479: + goto st_case_479 + case 480: + goto st_case_480 + case 481: + goto st_case_481 + case 482: + goto st_case_482 + case 483: + goto st_case_483 + case 484: + goto st_case_484 + case 485: + goto st_case_485 + case 486: + goto st_case_486 + case 487: + goto st_case_487 + case 488: + goto st_case_488 + case 489: + goto st_case_489 + case 490: + goto st_case_490 + case 491: + goto st_case_491 + case 492: + goto st_case_492 + case 48: + goto st_case_48 + case 493: + goto st_case_493 + case 494: + goto st_case_494 + case 495: + goto st_case_495 + case 496: + goto st_case_496 + case 497: + goto st_case_497 + case 498: + goto st_case_498 + case 499: + goto st_case_499 + case 500: + goto st_case_500 + case 501: + goto st_case_501 + case 502: + goto st_case_502 + case 503: + goto st_case_503 + case 504: + goto st_case_504 + case 505: + goto st_case_505 + case 506: + goto st_case_506 + case 507: + goto st_case_507 + case 508: + goto st_case_508 + case 509: + goto st_case_509 + case 510: + goto st_case_510 + case 511: + goto st_case_511 + case 512: + goto st_case_512 + case 513: + goto st_case_513 + case 514: + goto st_case_514 + case 515: + goto st_case_515 + case 516: + goto st_case_516 + case 517: + goto st_case_517 + case 518: + goto st_case_518 + case 519: + goto st_case_519 + case 520: + goto st_case_520 + case 521: + goto st_case_521 + case 522: + goto st_case_522 + case 523: + goto st_case_523 + case 524: + goto st_case_524 + case 49: + goto st_case_49 + case 525: + goto st_case_525 + case 526: + goto st_case_526 + case 527: + goto st_case_527 + case 528: + goto st_case_528 + case 529: + goto st_case_529 + case 530: + goto st_case_530 + case 531: + goto st_case_531 + case 532: + goto st_case_532 + case 533: + goto st_case_533 + case 534: + goto st_case_534 + case 535: + goto st_case_535 + case 536: + goto st_case_536 + case 537: + goto st_case_537 + case 538: + goto st_case_538 + case 539: + goto st_case_539 + case 540: + goto st_case_540 + case 541: + goto st_case_541 + case 542: + goto st_case_542 + case 543: + goto st_case_543 + case 544: + goto st_case_544 + case 545: + goto st_case_545 + case 546: + goto st_case_546 + case 547: + goto st_case_547 + case 548: + goto st_case_548 + case 549: + goto st_case_549 + case 550: + goto st_case_550 + case 551: + goto st_case_551 + case 552: + goto st_case_552 + case 553: + goto st_case_553 + case 554: + goto st_case_554 + case 555: + goto st_case_555 + case 556: + goto st_case_556 + case 50: + goto st_case_50 + case 557: + goto st_case_557 + case 558: + goto st_case_558 + case 559: + goto st_case_559 + case 560: + goto st_case_560 + case 561: + goto st_case_561 + case 562: + goto st_case_562 + case 563: + goto st_case_563 + case 564: + goto st_case_564 + case 565: + goto st_case_565 + case 566: + goto st_case_566 + case 567: + goto st_case_567 + case 568: + goto st_case_568 + case 569: + goto st_case_569 + case 570: + goto st_case_570 + case 571: + goto st_case_571 + case 572: + goto st_case_572 + case 573: + goto st_case_573 + case 574: + goto st_case_574 + case 575: + goto st_case_575 + case 576: + goto st_case_576 + case 577: + goto st_case_577 + case 578: + goto st_case_578 + case 579: + goto st_case_579 + case 580: + goto st_case_580 + case 581: + goto st_case_581 + case 582: + goto st_case_582 + case 583: + goto st_case_583 + case 584: + goto st_case_584 + case 585: + goto st_case_585 + case 586: + goto st_case_586 + case 587: + goto st_case_587 + case 588: + goto st_case_588 + case 589: + goto st_case_589 + case 590: + goto st_case_590 + case 51: + goto st_case_51 + case 52: + goto st_case_52 + case 53: + goto st_case_53 + case 54: + goto st_case_54 + case 55: + goto st_case_55 + case 56: + goto st_case_56 + case 57: + goto st_case_57 + case 58: + goto st_case_58 + } + goto st_out + st_case_59: + switch data[p] { + case 224: + goto tr52 + case 237: + goto tr54 + case 240: + goto tr55 + case 244: + goto tr57 + } + switch { + case data[p] < 225: + switch { + case data[p] > 193: + if 194 <= data[p] && data[p] <= 223 { + goto tr51 + } + case data[p] >= 128: + goto st0 + } + case data[p] > 239: + switch { + case data[p] > 243: + if 245 <= data[p] { + goto st0 + } + case data[p] >= 241: + goto tr56 + } + default: + goto tr53 + } + goto tr50 + tr50: + + pb = p + + goto st60 + st60: + if p++; p == pe { + goto _test_eof60 + } + st_case_60: + switch data[p] { + case 224: + goto st2 + case 237: + goto st4 + case 240: + goto st5 + case 244: + goto st7 + } + switch { + case data[p] < 225: + switch { + case data[p] > 193: + if 194 <= data[p] && data[p] <= 223 { + goto st1 + } + case data[p] >= 128: + goto st0 + } + case data[p] > 239: + switch { + case data[p] > 243: + if 245 <= data[p] { + goto st0 + } + case data[p] >= 241: + goto st6 + } + default: + goto st3 + } + goto st60 + st_case_0: + st0: + cs = 0 + goto _out + tr51: + + pb = p + + goto st1 + st1: + if p++; p == pe { + goto _test_eof1 + } + st_case_1: + if 128 <= data[p] && data[p] <= 191 { + goto st60 + } + goto st0 + tr52: + + pb = p + + goto st2 + st2: + if p++; p == pe { + goto _test_eof2 + } + st_case_2: + if 160 <= data[p] && data[p] <= 191 { + goto st1 + } + goto st0 + tr53: + + pb = p + + goto st3 + st3: + if p++; p == pe { + goto _test_eof3 + } + st_case_3: + if 128 <= data[p] && data[p] <= 191 { + goto st1 + } + goto st0 + tr54: + + pb = p + + goto st4 + st4: + if p++; p == pe { + goto _test_eof4 + } + st_case_4: + if 128 <= data[p] && data[p] <= 159 { + goto st1 + } + goto st0 + tr55: + + pb = p + + goto st5 + st5: + if p++; p == pe { + goto _test_eof5 + } + st_case_5: + if 144 <= data[p] && data[p] <= 191 { + goto st3 + } + goto st0 + tr56: + + pb = p + + goto st6 + st6: + if p++; p == pe { + goto _test_eof6 + } + st_case_6: + if 128 <= data[p] && data[p] <= 191 { + goto st3 + } + goto st0 + tr57: + + pb = p + + goto st7 + st7: + if p++; p == pe { + goto _test_eof7 + } + st_case_7: + if 128 <= data[p] && data[p] <= 143 { + goto st3 + } + goto st0 + st_case_8: + if 48 <= data[p] && data[p] <= 57 { + goto tr4 + } + goto st0 + tr4: + + pb = p + + goto st9 + st9: + if p++; p == pe { + goto _test_eof9 + } + st_case_9: + if 48 <= data[p] && data[p] <= 57 { + goto st10 + } + goto st0 + st10: + if p++; p == pe { + goto _test_eof10 + } + st_case_10: + if 48 <= data[p] && data[p] <= 57 { + goto st11 + } + goto st0 + st11: + if p++; p == pe { + goto _test_eof11 + } + st_case_11: + if 48 <= data[p] && data[p] <= 57 { + goto st12 + } + goto st0 + st12: + if p++; p == pe { + goto _test_eof12 + } + st_case_12: + if data[p] == 45 { + goto st13 + } + goto st0 + st13: + if p++; p == pe { + goto _test_eof13 + } + st_case_13: + switch data[p] { + case 48: + goto st14 + case 49: + goto st44 + } + goto st0 + st14: + if p++; p == pe { + goto _test_eof14 + } + st_case_14: + if 49 <= data[p] && data[p] <= 57 { + goto st15 + } + goto st0 + st15: + if p++; p == pe { + goto _test_eof15 + } + st_case_15: + if data[p] == 45 { + goto st16 + } + goto st0 + st16: + if p++; p == pe { + goto _test_eof16 + } + st_case_16: + switch data[p] { + case 48: + goto st17 + case 51: + goto st43 + } + if 49 <= data[p] && data[p] <= 50 { + goto st42 + } + goto st0 + st17: + if p++; p == pe { + goto _test_eof17 + } + st_case_17: + if 49 <= data[p] && data[p] <= 57 { + goto st18 + } + goto st0 + st18: + if p++; p == pe { + goto _test_eof18 + } + st_case_18: + if data[p] == 84 { + goto st19 + } + goto st0 + st19: + if p++; p == pe { + goto _test_eof19 + } + st_case_19: + if data[p] == 50 { + goto st41 + } + if 48 <= data[p] && data[p] <= 49 { + goto st20 + } + goto st0 + st20: + if p++; p == pe { + goto _test_eof20 + } + st_case_20: + if 48 <= data[p] && data[p] <= 57 { + goto st21 + } + goto st0 + st21: + if p++; p == pe { + goto _test_eof21 + } + st_case_21: + if data[p] == 58 { + goto st22 + } + goto st0 + st22: + if p++; p == pe { + goto _test_eof22 + } + st_case_22: + if 48 <= data[p] && data[p] <= 53 { + goto st23 + } + goto st0 + st23: + if p++; p == pe { + goto _test_eof23 + } + st_case_23: + if 48 <= data[p] && data[p] <= 57 { + goto st24 + } + goto st0 + st24: + if p++; p == pe { + goto _test_eof24 + } + st_case_24: + if data[p] == 58 { + goto st25 + } + goto st0 + st25: + if p++; p == pe { + goto _test_eof25 + } + st_case_25: + if 48 <= data[p] && data[p] <= 53 { + goto st26 + } + goto st0 + st26: + if p++; p == pe { + goto _test_eof26 + } + st_case_26: + if 48 <= data[p] && data[p] <= 57 { + goto st27 + } + goto st0 + st27: + if p++; p == pe { + goto _test_eof27 + } + st_case_27: + switch data[p] { + case 43: + goto st28 + case 45: + goto st28 + case 46: + goto st34 + case 90: + goto st61 + } + goto st0 + st28: + if p++; p == pe { + goto _test_eof28 + } + st_case_28: + if data[p] == 50 { + goto st33 + } + if 48 <= data[p] && data[p] <= 49 { + goto st29 + } + goto st0 + st29: + if p++; p == pe { + goto _test_eof29 + } + st_case_29: + if 48 <= data[p] && data[p] <= 57 { + goto st30 + } + goto st0 + st30: + if p++; p == pe { + goto _test_eof30 + } + st_case_30: + if data[p] == 58 { + goto st31 + } + goto st0 + st31: + if p++; p == pe { + goto _test_eof31 + } + st_case_31: + if 48 <= data[p] && data[p] <= 53 { + goto st32 + } + goto st0 + st32: + if p++; p == pe { + goto _test_eof32 + } + st_case_32: + if 48 <= data[p] && data[p] <= 57 { + goto st61 + } + goto st0 + st61: + if p++; p == pe { + goto _test_eof61 + } + st_case_61: + goto st0 + st33: + if p++; p == pe { + goto _test_eof33 + } + st_case_33: + if 48 <= data[p] && data[p] <= 51 { + goto st30 + } + goto st0 + st34: + if p++; p == pe { + goto _test_eof34 + } + st_case_34: + if 48 <= data[p] && data[p] <= 57 { + goto st35 + } + goto st0 + st35: + if p++; p == pe { + goto _test_eof35 + } + st_case_35: + switch data[p] { + case 43: + goto st28 + case 45: + goto st28 + case 90: + goto st61 + } + if 48 <= data[p] && data[p] <= 57 { + goto st36 + } + goto st0 + st36: + if p++; p == pe { + goto _test_eof36 + } + st_case_36: + switch data[p] { + case 43: + goto st28 + case 45: + goto st28 + case 90: + goto st61 + } + if 48 <= data[p] && data[p] <= 57 { + goto st37 + } + goto st0 + st37: + if p++; p == pe { + goto _test_eof37 + } + st_case_37: + switch data[p] { + case 43: + goto st28 + case 45: + goto st28 + case 90: + goto st61 + } + if 48 <= data[p] && data[p] <= 57 { + goto st38 + } + goto st0 + st38: + if p++; p == pe { + goto _test_eof38 + } + st_case_38: + switch data[p] { + case 43: + goto st28 + case 45: + goto st28 + case 90: + goto st61 + } + if 48 <= data[p] && data[p] <= 57 { + goto st39 + } + goto st0 + st39: + if p++; p == pe { + goto _test_eof39 + } + st_case_39: + switch data[p] { + case 43: + goto st28 + case 45: + goto st28 + case 90: + goto st61 + } + if 48 <= data[p] && data[p] <= 57 { + goto st40 + } + goto st0 + st40: + if p++; p == pe { + goto _test_eof40 + } + st_case_40: + switch data[p] { + case 43: + goto st28 + case 45: + goto st28 + case 90: + goto st61 + } + goto st0 + st41: + if p++; p == pe { + goto _test_eof41 + } + st_case_41: + if 48 <= data[p] && data[p] <= 51 { + goto st21 + } + goto st0 + st42: + if p++; p == pe { + goto _test_eof42 + } + st_case_42: + if 48 <= data[p] && data[p] <= 57 { + goto st18 + } + goto st0 + st43: + if p++; p == pe { + goto _test_eof43 + } + st_case_43: + if 48 <= data[p] && data[p] <= 49 { + goto st18 + } + goto st0 + st44: + if p++; p == pe { + goto _test_eof44 + } + st_case_44: + if 48 <= data[p] && data[p] <= 50 { + goto st15 + } + goto st0 + st_case_45: + if 33 <= data[p] && data[p] <= 126 { + goto tr41 + } + goto st0 + tr41: + + pb = p + + goto st62 + st62: + if p++; p == pe { + goto _test_eof62 + } + st_case_62: + if 33 <= data[p] && data[p] <= 126 { + goto st63 + } + goto st0 + st63: + if p++; p == pe { + goto _test_eof63 + } + st_case_63: + if 33 <= data[p] && data[p] <= 126 { + goto st64 + } + goto st0 + st64: + if p++; p == pe { + goto _test_eof64 + } + st_case_64: + if 33 <= data[p] && data[p] <= 126 { + goto st65 + } + goto st0 + st65: + if p++; p == pe { + goto _test_eof65 + } + st_case_65: + if 33 <= data[p] && data[p] <= 126 { + goto st66 + } + goto st0 + st66: + if p++; p == pe { + goto _test_eof66 + } + st_case_66: + if 33 <= data[p] && data[p] <= 126 { + goto st67 + } + goto st0 + st67: + if p++; p == pe { + goto _test_eof67 + } + st_case_67: + if 33 <= data[p] && data[p] <= 126 { + goto st68 + } + goto st0 + st68: + if p++; p == pe { + goto _test_eof68 + } + st_case_68: + if 33 <= data[p] && data[p] <= 126 { + goto st69 + } + goto st0 + st69: + if p++; p == pe { + goto _test_eof69 + } + st_case_69: + if 33 <= data[p] && data[p] <= 126 { + goto st70 + } + goto st0 + st70: + if p++; p == pe { + goto _test_eof70 + } + st_case_70: + if 33 <= data[p] && data[p] <= 126 { + goto st71 + } + goto st0 + st71: + if p++; p == pe { + goto _test_eof71 + } + st_case_71: + if 33 <= data[p] && data[p] <= 126 { + goto st72 + } + goto st0 + st72: + if p++; p == pe { + goto _test_eof72 + } + st_case_72: + if 33 <= data[p] && data[p] <= 126 { + goto st73 + } + goto st0 + st73: + if p++; p == pe { + goto _test_eof73 + } + st_case_73: + if 33 <= data[p] && data[p] <= 126 { + goto st74 + } + goto st0 + st74: + if p++; p == pe { + goto _test_eof74 + } + st_case_74: + if 33 <= data[p] && data[p] <= 126 { + goto st75 + } + goto st0 + st75: + if p++; p == pe { + goto _test_eof75 + } + st_case_75: + if 33 <= data[p] && data[p] <= 126 { + goto st76 + } + goto st0 + st76: + if p++; p == pe { + goto _test_eof76 + } + st_case_76: + if 33 <= data[p] && data[p] <= 126 { + goto st77 + } + goto st0 + st77: + if p++; p == pe { + goto _test_eof77 + } + st_case_77: + if 33 <= data[p] && data[p] <= 126 { + goto st78 + } + goto st0 + st78: + if p++; p == pe { + goto _test_eof78 + } + st_case_78: + if 33 <= data[p] && data[p] <= 126 { + goto st79 + } + goto st0 + st79: + if p++; p == pe { + goto _test_eof79 + } + st_case_79: + if 33 <= data[p] && data[p] <= 126 { + goto st80 + } + goto st0 + st80: + if p++; p == pe { + goto _test_eof80 + } + st_case_80: + if 33 <= data[p] && data[p] <= 126 { + goto st81 + } + goto st0 + st81: + if p++; p == pe { + goto _test_eof81 + } + st_case_81: + if 33 <= data[p] && data[p] <= 126 { + goto st82 + } + goto st0 + st82: + if p++; p == pe { + goto _test_eof82 + } + st_case_82: + if 33 <= data[p] && data[p] <= 126 { + goto st83 + } + goto st0 + st83: + if p++; p == pe { + goto _test_eof83 + } + st_case_83: + if 33 <= data[p] && data[p] <= 126 { + goto st84 + } + goto st0 + st84: + if p++; p == pe { + goto _test_eof84 + } + st_case_84: + if 33 <= data[p] && data[p] <= 126 { + goto st85 + } + goto st0 + st85: + if p++; p == pe { + goto _test_eof85 + } + st_case_85: + if 33 <= data[p] && data[p] <= 126 { + goto st86 + } + goto st0 + st86: + if p++; p == pe { + goto _test_eof86 + } + st_case_86: + if 33 <= data[p] && data[p] <= 126 { + goto st87 + } + goto st0 + st87: + if p++; p == pe { + goto _test_eof87 + } + st_case_87: + if 33 <= data[p] && data[p] <= 126 { + goto st88 + } + goto st0 + st88: + if p++; p == pe { + goto _test_eof88 + } + st_case_88: + if 33 <= data[p] && data[p] <= 126 { + goto st89 + } + goto st0 + st89: + if p++; p == pe { + goto _test_eof89 + } + st_case_89: + if 33 <= data[p] && data[p] <= 126 { + goto st90 + } + goto st0 + st90: + if p++; p == pe { + goto _test_eof90 + } + st_case_90: + if 33 <= data[p] && data[p] <= 126 { + goto st91 + } + goto st0 + st91: + if p++; p == pe { + goto _test_eof91 + } + st_case_91: + if 33 <= data[p] && data[p] <= 126 { + goto st92 + } + goto st0 + st92: + if p++; p == pe { + goto _test_eof92 + } + st_case_92: + if 33 <= data[p] && data[p] <= 126 { + goto st93 + } + goto st0 + st93: + if p++; p == pe { + goto _test_eof93 + } + st_case_93: + if 33 <= data[p] && data[p] <= 126 { + goto st94 + } + goto st0 + st94: + if p++; p == pe { + goto _test_eof94 + } + st_case_94: + if 33 <= data[p] && data[p] <= 126 { + goto st95 + } + goto st0 + st95: + if p++; p == pe { + goto _test_eof95 + } + st_case_95: + if 33 <= data[p] && data[p] <= 126 { + goto st96 + } + goto st0 + st96: + if p++; p == pe { + goto _test_eof96 + } + st_case_96: + if 33 <= data[p] && data[p] <= 126 { + goto st97 + } + goto st0 + st97: + if p++; p == pe { + goto _test_eof97 + } + st_case_97: + if 33 <= data[p] && data[p] <= 126 { + goto st98 + } + goto st0 + st98: + if p++; p == pe { + goto _test_eof98 + } + st_case_98: + if 33 <= data[p] && data[p] <= 126 { + goto st99 + } + goto st0 + st99: + if p++; p == pe { + goto _test_eof99 + } + st_case_99: + if 33 <= data[p] && data[p] <= 126 { + goto st100 + } + goto st0 + st100: + if p++; p == pe { + goto _test_eof100 + } + st_case_100: + if 33 <= data[p] && data[p] <= 126 { + goto st101 + } + goto st0 + st101: + if p++; p == pe { + goto _test_eof101 + } + st_case_101: + if 33 <= data[p] && data[p] <= 126 { + goto st102 + } + goto st0 + st102: + if p++; p == pe { + goto _test_eof102 + } + st_case_102: + if 33 <= data[p] && data[p] <= 126 { + goto st103 + } + goto st0 + st103: + if p++; p == pe { + goto _test_eof103 + } + st_case_103: + if 33 <= data[p] && data[p] <= 126 { + goto st104 + } + goto st0 + st104: + if p++; p == pe { + goto _test_eof104 + } + st_case_104: + if 33 <= data[p] && data[p] <= 126 { + goto st105 + } + goto st0 + st105: + if p++; p == pe { + goto _test_eof105 + } + st_case_105: + if 33 <= data[p] && data[p] <= 126 { + goto st106 + } + goto st0 + st106: + if p++; p == pe { + goto _test_eof106 + } + st_case_106: + if 33 <= data[p] && data[p] <= 126 { + goto st107 + } + goto st0 + st107: + if p++; p == pe { + goto _test_eof107 + } + st_case_107: + if 33 <= data[p] && data[p] <= 126 { + goto st108 + } + goto st0 + st108: + if p++; p == pe { + goto _test_eof108 + } + st_case_108: + if 33 <= data[p] && data[p] <= 126 { + goto st109 + } + goto st0 + st109: + if p++; p == pe { + goto _test_eof109 + } + st_case_109: + if 33 <= data[p] && data[p] <= 126 { + goto st110 + } + goto st0 + st110: + if p++; p == pe { + goto _test_eof110 + } + st_case_110: + if 33 <= data[p] && data[p] <= 126 { + goto st111 + } + goto st0 + st111: + if p++; p == pe { + goto _test_eof111 + } + st_case_111: + if 33 <= data[p] && data[p] <= 126 { + goto st112 + } + goto st0 + st112: + if p++; p == pe { + goto _test_eof112 + } + st_case_112: + if 33 <= data[p] && data[p] <= 126 { + goto st113 + } + goto st0 + st113: + if p++; p == pe { + goto _test_eof113 + } + st_case_113: + if 33 <= data[p] && data[p] <= 126 { + goto st114 + } + goto st0 + st114: + if p++; p == pe { + goto _test_eof114 + } + st_case_114: + if 33 <= data[p] && data[p] <= 126 { + goto st115 + } + goto st0 + st115: + if p++; p == pe { + goto _test_eof115 + } + st_case_115: + if 33 <= data[p] && data[p] <= 126 { + goto st116 + } + goto st0 + st116: + if p++; p == pe { + goto _test_eof116 + } + st_case_116: + if 33 <= data[p] && data[p] <= 126 { + goto st117 + } + goto st0 + st117: + if p++; p == pe { + goto _test_eof117 + } + st_case_117: + if 33 <= data[p] && data[p] <= 126 { + goto st118 + } + goto st0 + st118: + if p++; p == pe { + goto _test_eof118 + } + st_case_118: + if 33 <= data[p] && data[p] <= 126 { + goto st119 + } + goto st0 + st119: + if p++; p == pe { + goto _test_eof119 + } + st_case_119: + if 33 <= data[p] && data[p] <= 126 { + goto st120 + } + goto st0 + st120: + if p++; p == pe { + goto _test_eof120 + } + st_case_120: + if 33 <= data[p] && data[p] <= 126 { + goto st121 + } + goto st0 + st121: + if p++; p == pe { + goto _test_eof121 + } + st_case_121: + if 33 <= data[p] && data[p] <= 126 { + goto st122 + } + goto st0 + st122: + if p++; p == pe { + goto _test_eof122 + } + st_case_122: + if 33 <= data[p] && data[p] <= 126 { + goto st123 + } + goto st0 + st123: + if p++; p == pe { + goto _test_eof123 + } + st_case_123: + if 33 <= data[p] && data[p] <= 126 { + goto st124 + } + goto st0 + st124: + if p++; p == pe { + goto _test_eof124 + } + st_case_124: + if 33 <= data[p] && data[p] <= 126 { + goto st125 + } + goto st0 + st125: + if p++; p == pe { + goto _test_eof125 + } + st_case_125: + if 33 <= data[p] && data[p] <= 126 { + goto st126 + } + goto st0 + st126: + if p++; p == pe { + goto _test_eof126 + } + st_case_126: + if 33 <= data[p] && data[p] <= 126 { + goto st127 + } + goto st0 + st127: + if p++; p == pe { + goto _test_eof127 + } + st_case_127: + if 33 <= data[p] && data[p] <= 126 { + goto st128 + } + goto st0 + st128: + if p++; p == pe { + goto _test_eof128 + } + st_case_128: + if 33 <= data[p] && data[p] <= 126 { + goto st129 + } + goto st0 + st129: + if p++; p == pe { + goto _test_eof129 + } + st_case_129: + if 33 <= data[p] && data[p] <= 126 { + goto st130 + } + goto st0 + st130: + if p++; p == pe { + goto _test_eof130 + } + st_case_130: + if 33 <= data[p] && data[p] <= 126 { + goto st131 + } + goto st0 + st131: + if p++; p == pe { + goto _test_eof131 + } + st_case_131: + if 33 <= data[p] && data[p] <= 126 { + goto st132 + } + goto st0 + st132: + if p++; p == pe { + goto _test_eof132 + } + st_case_132: + if 33 <= data[p] && data[p] <= 126 { + goto st133 + } + goto st0 + st133: + if p++; p == pe { + goto _test_eof133 + } + st_case_133: + if 33 <= data[p] && data[p] <= 126 { + goto st134 + } + goto st0 + st134: + if p++; p == pe { + goto _test_eof134 + } + st_case_134: + if 33 <= data[p] && data[p] <= 126 { + goto st135 + } + goto st0 + st135: + if p++; p == pe { + goto _test_eof135 + } + st_case_135: + if 33 <= data[p] && data[p] <= 126 { + goto st136 + } + goto st0 + st136: + if p++; p == pe { + goto _test_eof136 + } + st_case_136: + if 33 <= data[p] && data[p] <= 126 { + goto st137 + } + goto st0 + st137: + if p++; p == pe { + goto _test_eof137 + } + st_case_137: + if 33 <= data[p] && data[p] <= 126 { + goto st138 + } + goto st0 + st138: + if p++; p == pe { + goto _test_eof138 + } + st_case_138: + if 33 <= data[p] && data[p] <= 126 { + goto st139 + } + goto st0 + st139: + if p++; p == pe { + goto _test_eof139 + } + st_case_139: + if 33 <= data[p] && data[p] <= 126 { + goto st140 + } + goto st0 + st140: + if p++; p == pe { + goto _test_eof140 + } + st_case_140: + if 33 <= data[p] && data[p] <= 126 { + goto st141 + } + goto st0 + st141: + if p++; p == pe { + goto _test_eof141 + } + st_case_141: + if 33 <= data[p] && data[p] <= 126 { + goto st142 + } + goto st0 + st142: + if p++; p == pe { + goto _test_eof142 + } + st_case_142: + if 33 <= data[p] && data[p] <= 126 { + goto st143 + } + goto st0 + st143: + if p++; p == pe { + goto _test_eof143 + } + st_case_143: + if 33 <= data[p] && data[p] <= 126 { + goto st144 + } + goto st0 + st144: + if p++; p == pe { + goto _test_eof144 + } + st_case_144: + if 33 <= data[p] && data[p] <= 126 { + goto st145 + } + goto st0 + st145: + if p++; p == pe { + goto _test_eof145 + } + st_case_145: + if 33 <= data[p] && data[p] <= 126 { + goto st146 + } + goto st0 + st146: + if p++; p == pe { + goto _test_eof146 + } + st_case_146: + if 33 <= data[p] && data[p] <= 126 { + goto st147 + } + goto st0 + st147: + if p++; p == pe { + goto _test_eof147 + } + st_case_147: + if 33 <= data[p] && data[p] <= 126 { + goto st148 + } + goto st0 + st148: + if p++; p == pe { + goto _test_eof148 + } + st_case_148: + if 33 <= data[p] && data[p] <= 126 { + goto st149 + } + goto st0 + st149: + if p++; p == pe { + goto _test_eof149 + } + st_case_149: + if 33 <= data[p] && data[p] <= 126 { + goto st150 + } + goto st0 + st150: + if p++; p == pe { + goto _test_eof150 + } + st_case_150: + if 33 <= data[p] && data[p] <= 126 { + goto st151 + } + goto st0 + st151: + if p++; p == pe { + goto _test_eof151 + } + st_case_151: + if 33 <= data[p] && data[p] <= 126 { + goto st152 + } + goto st0 + st152: + if p++; p == pe { + goto _test_eof152 + } + st_case_152: + if 33 <= data[p] && data[p] <= 126 { + goto st153 + } + goto st0 + st153: + if p++; p == pe { + goto _test_eof153 + } + st_case_153: + if 33 <= data[p] && data[p] <= 126 { + goto st154 + } + goto st0 + st154: + if p++; p == pe { + goto _test_eof154 + } + st_case_154: + if 33 <= data[p] && data[p] <= 126 { + goto st155 + } + goto st0 + st155: + if p++; p == pe { + goto _test_eof155 + } + st_case_155: + if 33 <= data[p] && data[p] <= 126 { + goto st156 + } + goto st0 + st156: + if p++; p == pe { + goto _test_eof156 + } + st_case_156: + if 33 <= data[p] && data[p] <= 126 { + goto st157 + } + goto st0 + st157: + if p++; p == pe { + goto _test_eof157 + } + st_case_157: + if 33 <= data[p] && data[p] <= 126 { + goto st158 + } + goto st0 + st158: + if p++; p == pe { + goto _test_eof158 + } + st_case_158: + if 33 <= data[p] && data[p] <= 126 { + goto st159 + } + goto st0 + st159: + if p++; p == pe { + goto _test_eof159 + } + st_case_159: + if 33 <= data[p] && data[p] <= 126 { + goto st160 + } + goto st0 + st160: + if p++; p == pe { + goto _test_eof160 + } + st_case_160: + if 33 <= data[p] && data[p] <= 126 { + goto st161 + } + goto st0 + st161: + if p++; p == pe { + goto _test_eof161 + } + st_case_161: + if 33 <= data[p] && data[p] <= 126 { + goto st162 + } + goto st0 + st162: + if p++; p == pe { + goto _test_eof162 + } + st_case_162: + if 33 <= data[p] && data[p] <= 126 { + goto st163 + } + goto st0 + st163: + if p++; p == pe { + goto _test_eof163 + } + st_case_163: + if 33 <= data[p] && data[p] <= 126 { + goto st164 + } + goto st0 + st164: + if p++; p == pe { + goto _test_eof164 + } + st_case_164: + if 33 <= data[p] && data[p] <= 126 { + goto st165 + } + goto st0 + st165: + if p++; p == pe { + goto _test_eof165 + } + st_case_165: + if 33 <= data[p] && data[p] <= 126 { + goto st166 + } + goto st0 + st166: + if p++; p == pe { + goto _test_eof166 + } + st_case_166: + if 33 <= data[p] && data[p] <= 126 { + goto st167 + } + goto st0 + st167: + if p++; p == pe { + goto _test_eof167 + } + st_case_167: + if 33 <= data[p] && data[p] <= 126 { + goto st168 + } + goto st0 + st168: + if p++; p == pe { + goto _test_eof168 + } + st_case_168: + if 33 <= data[p] && data[p] <= 126 { + goto st169 + } + goto st0 + st169: + if p++; p == pe { + goto _test_eof169 + } + st_case_169: + if 33 <= data[p] && data[p] <= 126 { + goto st170 + } + goto st0 + st170: + if p++; p == pe { + goto _test_eof170 + } + st_case_170: + if 33 <= data[p] && data[p] <= 126 { + goto st171 + } + goto st0 + st171: + if p++; p == pe { + goto _test_eof171 + } + st_case_171: + if 33 <= data[p] && data[p] <= 126 { + goto st172 + } + goto st0 + st172: + if p++; p == pe { + goto _test_eof172 + } + st_case_172: + if 33 <= data[p] && data[p] <= 126 { + goto st173 + } + goto st0 + st173: + if p++; p == pe { + goto _test_eof173 + } + st_case_173: + if 33 <= data[p] && data[p] <= 126 { + goto st174 + } + goto st0 + st174: + if p++; p == pe { + goto _test_eof174 + } + st_case_174: + if 33 <= data[p] && data[p] <= 126 { + goto st175 + } + goto st0 + st175: + if p++; p == pe { + goto _test_eof175 + } + st_case_175: + if 33 <= data[p] && data[p] <= 126 { + goto st176 + } + goto st0 + st176: + if p++; p == pe { + goto _test_eof176 + } + st_case_176: + if 33 <= data[p] && data[p] <= 126 { + goto st177 + } + goto st0 + st177: + if p++; p == pe { + goto _test_eof177 + } + st_case_177: + if 33 <= data[p] && data[p] <= 126 { + goto st178 + } + goto st0 + st178: + if p++; p == pe { + goto _test_eof178 + } + st_case_178: + if 33 <= data[p] && data[p] <= 126 { + goto st179 + } + goto st0 + st179: + if p++; p == pe { + goto _test_eof179 + } + st_case_179: + if 33 <= data[p] && data[p] <= 126 { + goto st180 + } + goto st0 + st180: + if p++; p == pe { + goto _test_eof180 + } + st_case_180: + if 33 <= data[p] && data[p] <= 126 { + goto st181 + } + goto st0 + st181: + if p++; p == pe { + goto _test_eof181 + } + st_case_181: + if 33 <= data[p] && data[p] <= 126 { + goto st182 + } + goto st0 + st182: + if p++; p == pe { + goto _test_eof182 + } + st_case_182: + if 33 <= data[p] && data[p] <= 126 { + goto st183 + } + goto st0 + st183: + if p++; p == pe { + goto _test_eof183 + } + st_case_183: + if 33 <= data[p] && data[p] <= 126 { + goto st184 + } + goto st0 + st184: + if p++; p == pe { + goto _test_eof184 + } + st_case_184: + if 33 <= data[p] && data[p] <= 126 { + goto st185 + } + goto st0 + st185: + if p++; p == pe { + goto _test_eof185 + } + st_case_185: + if 33 <= data[p] && data[p] <= 126 { + goto st186 + } + goto st0 + st186: + if p++; p == pe { + goto _test_eof186 + } + st_case_186: + if 33 <= data[p] && data[p] <= 126 { + goto st187 + } + goto st0 + st187: + if p++; p == pe { + goto _test_eof187 + } + st_case_187: + if 33 <= data[p] && data[p] <= 126 { + goto st188 + } + goto st0 + st188: + if p++; p == pe { + goto _test_eof188 + } + st_case_188: + if 33 <= data[p] && data[p] <= 126 { + goto st189 + } + goto st0 + st189: + if p++; p == pe { + goto _test_eof189 + } + st_case_189: + if 33 <= data[p] && data[p] <= 126 { + goto st190 + } + goto st0 + st190: + if p++; p == pe { + goto _test_eof190 + } + st_case_190: + if 33 <= data[p] && data[p] <= 126 { + goto st191 + } + goto st0 + st191: + if p++; p == pe { + goto _test_eof191 + } + st_case_191: + if 33 <= data[p] && data[p] <= 126 { + goto st192 + } + goto st0 + st192: + if p++; p == pe { + goto _test_eof192 + } + st_case_192: + if 33 <= data[p] && data[p] <= 126 { + goto st193 + } + goto st0 + st193: + if p++; p == pe { + goto _test_eof193 + } + st_case_193: + if 33 <= data[p] && data[p] <= 126 { + goto st194 + } + goto st0 + st194: + if p++; p == pe { + goto _test_eof194 + } + st_case_194: + if 33 <= data[p] && data[p] <= 126 { + goto st195 + } + goto st0 + st195: + if p++; p == pe { + goto _test_eof195 + } + st_case_195: + if 33 <= data[p] && data[p] <= 126 { + goto st196 + } + goto st0 + st196: + if p++; p == pe { + goto _test_eof196 + } + st_case_196: + if 33 <= data[p] && data[p] <= 126 { + goto st197 + } + goto st0 + st197: + if p++; p == pe { + goto _test_eof197 + } + st_case_197: + if 33 <= data[p] && data[p] <= 126 { + goto st198 + } + goto st0 + st198: + if p++; p == pe { + goto _test_eof198 + } + st_case_198: + if 33 <= data[p] && data[p] <= 126 { + goto st199 + } + goto st0 + st199: + if p++; p == pe { + goto _test_eof199 + } + st_case_199: + if 33 <= data[p] && data[p] <= 126 { + goto st200 + } + goto st0 + st200: + if p++; p == pe { + goto _test_eof200 + } + st_case_200: + if 33 <= data[p] && data[p] <= 126 { + goto st201 + } + goto st0 + st201: + if p++; p == pe { + goto _test_eof201 + } + st_case_201: + if 33 <= data[p] && data[p] <= 126 { + goto st202 + } + goto st0 + st202: + if p++; p == pe { + goto _test_eof202 + } + st_case_202: + if 33 <= data[p] && data[p] <= 126 { + goto st203 + } + goto st0 + st203: + if p++; p == pe { + goto _test_eof203 + } + st_case_203: + if 33 <= data[p] && data[p] <= 126 { + goto st204 + } + goto st0 + st204: + if p++; p == pe { + goto _test_eof204 + } + st_case_204: + if 33 <= data[p] && data[p] <= 126 { + goto st205 + } + goto st0 + st205: + if p++; p == pe { + goto _test_eof205 + } + st_case_205: + if 33 <= data[p] && data[p] <= 126 { + goto st206 + } + goto st0 + st206: + if p++; p == pe { + goto _test_eof206 + } + st_case_206: + if 33 <= data[p] && data[p] <= 126 { + goto st207 + } + goto st0 + st207: + if p++; p == pe { + goto _test_eof207 + } + st_case_207: + if 33 <= data[p] && data[p] <= 126 { + goto st208 + } + goto st0 + st208: + if p++; p == pe { + goto _test_eof208 + } + st_case_208: + if 33 <= data[p] && data[p] <= 126 { + goto st209 + } + goto st0 + st209: + if p++; p == pe { + goto _test_eof209 + } + st_case_209: + if 33 <= data[p] && data[p] <= 126 { + goto st210 + } + goto st0 + st210: + if p++; p == pe { + goto _test_eof210 + } + st_case_210: + if 33 <= data[p] && data[p] <= 126 { + goto st211 + } + goto st0 + st211: + if p++; p == pe { + goto _test_eof211 + } + st_case_211: + if 33 <= data[p] && data[p] <= 126 { + goto st212 + } + goto st0 + st212: + if p++; p == pe { + goto _test_eof212 + } + st_case_212: + if 33 <= data[p] && data[p] <= 126 { + goto st213 + } + goto st0 + st213: + if p++; p == pe { + goto _test_eof213 + } + st_case_213: + if 33 <= data[p] && data[p] <= 126 { + goto st214 + } + goto st0 + st214: + if p++; p == pe { + goto _test_eof214 + } + st_case_214: + if 33 <= data[p] && data[p] <= 126 { + goto st215 + } + goto st0 + st215: + if p++; p == pe { + goto _test_eof215 + } + st_case_215: + if 33 <= data[p] && data[p] <= 126 { + goto st216 + } + goto st0 + st216: + if p++; p == pe { + goto _test_eof216 + } + st_case_216: + if 33 <= data[p] && data[p] <= 126 { + goto st217 + } + goto st0 + st217: + if p++; p == pe { + goto _test_eof217 + } + st_case_217: + if 33 <= data[p] && data[p] <= 126 { + goto st218 + } + goto st0 + st218: + if p++; p == pe { + goto _test_eof218 + } + st_case_218: + if 33 <= data[p] && data[p] <= 126 { + goto st219 + } + goto st0 + st219: + if p++; p == pe { + goto _test_eof219 + } + st_case_219: + if 33 <= data[p] && data[p] <= 126 { + goto st220 + } + goto st0 + st220: + if p++; p == pe { + goto _test_eof220 + } + st_case_220: + if 33 <= data[p] && data[p] <= 126 { + goto st221 + } + goto st0 + st221: + if p++; p == pe { + goto _test_eof221 + } + st_case_221: + if 33 <= data[p] && data[p] <= 126 { + goto st222 + } + goto st0 + st222: + if p++; p == pe { + goto _test_eof222 + } + st_case_222: + if 33 <= data[p] && data[p] <= 126 { + goto st223 + } + goto st0 + st223: + if p++; p == pe { + goto _test_eof223 + } + st_case_223: + if 33 <= data[p] && data[p] <= 126 { + goto st224 + } + goto st0 + st224: + if p++; p == pe { + goto _test_eof224 + } + st_case_224: + if 33 <= data[p] && data[p] <= 126 { + goto st225 + } + goto st0 + st225: + if p++; p == pe { + goto _test_eof225 + } + st_case_225: + if 33 <= data[p] && data[p] <= 126 { + goto st226 + } + goto st0 + st226: + if p++; p == pe { + goto _test_eof226 + } + st_case_226: + if 33 <= data[p] && data[p] <= 126 { + goto st227 + } + goto st0 + st227: + if p++; p == pe { + goto _test_eof227 + } + st_case_227: + if 33 <= data[p] && data[p] <= 126 { + goto st228 + } + goto st0 + st228: + if p++; p == pe { + goto _test_eof228 + } + st_case_228: + if 33 <= data[p] && data[p] <= 126 { + goto st229 + } + goto st0 + st229: + if p++; p == pe { + goto _test_eof229 + } + st_case_229: + if 33 <= data[p] && data[p] <= 126 { + goto st230 + } + goto st0 + st230: + if p++; p == pe { + goto _test_eof230 + } + st_case_230: + if 33 <= data[p] && data[p] <= 126 { + goto st231 + } + goto st0 + st231: + if p++; p == pe { + goto _test_eof231 + } + st_case_231: + if 33 <= data[p] && data[p] <= 126 { + goto st232 + } + goto st0 + st232: + if p++; p == pe { + goto _test_eof232 + } + st_case_232: + if 33 <= data[p] && data[p] <= 126 { + goto st233 + } + goto st0 + st233: + if p++; p == pe { + goto _test_eof233 + } + st_case_233: + if 33 <= data[p] && data[p] <= 126 { + goto st234 + } + goto st0 + st234: + if p++; p == pe { + goto _test_eof234 + } + st_case_234: + if 33 <= data[p] && data[p] <= 126 { + goto st235 + } + goto st0 + st235: + if p++; p == pe { + goto _test_eof235 + } + st_case_235: + if 33 <= data[p] && data[p] <= 126 { + goto st236 + } + goto st0 + st236: + if p++; p == pe { + goto _test_eof236 + } + st_case_236: + if 33 <= data[p] && data[p] <= 126 { + goto st237 + } + goto st0 + st237: + if p++; p == pe { + goto _test_eof237 + } + st_case_237: + if 33 <= data[p] && data[p] <= 126 { + goto st238 + } + goto st0 + st238: + if p++; p == pe { + goto _test_eof238 + } + st_case_238: + if 33 <= data[p] && data[p] <= 126 { + goto st239 + } + goto st0 + st239: + if p++; p == pe { + goto _test_eof239 + } + st_case_239: + if 33 <= data[p] && data[p] <= 126 { + goto st240 + } + goto st0 + st240: + if p++; p == pe { + goto _test_eof240 + } + st_case_240: + if 33 <= data[p] && data[p] <= 126 { + goto st241 + } + goto st0 + st241: + if p++; p == pe { + goto _test_eof241 + } + st_case_241: + if 33 <= data[p] && data[p] <= 126 { + goto st242 + } + goto st0 + st242: + if p++; p == pe { + goto _test_eof242 + } + st_case_242: + if 33 <= data[p] && data[p] <= 126 { + goto st243 + } + goto st0 + st243: + if p++; p == pe { + goto _test_eof243 + } + st_case_243: + if 33 <= data[p] && data[p] <= 126 { + goto st244 + } + goto st0 + st244: + if p++; p == pe { + goto _test_eof244 + } + st_case_244: + if 33 <= data[p] && data[p] <= 126 { + goto st245 + } + goto st0 + st245: + if p++; p == pe { + goto _test_eof245 + } + st_case_245: + if 33 <= data[p] && data[p] <= 126 { + goto st246 + } + goto st0 + st246: + if p++; p == pe { + goto _test_eof246 + } + st_case_246: + if 33 <= data[p] && data[p] <= 126 { + goto st247 + } + goto st0 + st247: + if p++; p == pe { + goto _test_eof247 + } + st_case_247: + if 33 <= data[p] && data[p] <= 126 { + goto st248 + } + goto st0 + st248: + if p++; p == pe { + goto _test_eof248 + } + st_case_248: + if 33 <= data[p] && data[p] <= 126 { + goto st249 + } + goto st0 + st249: + if p++; p == pe { + goto _test_eof249 + } + st_case_249: + if 33 <= data[p] && data[p] <= 126 { + goto st250 + } + goto st0 + st250: + if p++; p == pe { + goto _test_eof250 + } + st_case_250: + if 33 <= data[p] && data[p] <= 126 { + goto st251 + } + goto st0 + st251: + if p++; p == pe { + goto _test_eof251 + } + st_case_251: + if 33 <= data[p] && data[p] <= 126 { + goto st252 + } + goto st0 + st252: + if p++; p == pe { + goto _test_eof252 + } + st_case_252: + if 33 <= data[p] && data[p] <= 126 { + goto st253 + } + goto st0 + st253: + if p++; p == pe { + goto _test_eof253 + } + st_case_253: + if 33 <= data[p] && data[p] <= 126 { + goto st254 + } + goto st0 + st254: + if p++; p == pe { + goto _test_eof254 + } + st_case_254: + if 33 <= data[p] && data[p] <= 126 { + goto st255 + } + goto st0 + st255: + if p++; p == pe { + goto _test_eof255 + } + st_case_255: + if 33 <= data[p] && data[p] <= 126 { + goto st256 + } + goto st0 + st256: + if p++; p == pe { + goto _test_eof256 + } + st_case_256: + if 33 <= data[p] && data[p] <= 126 { + goto st257 + } + goto st0 + st257: + if p++; p == pe { + goto _test_eof257 + } + st_case_257: + if 33 <= data[p] && data[p] <= 126 { + goto st258 + } + goto st0 + st258: + if p++; p == pe { + goto _test_eof258 + } + st_case_258: + if 33 <= data[p] && data[p] <= 126 { + goto st259 + } + goto st0 + st259: + if p++; p == pe { + goto _test_eof259 + } + st_case_259: + if 33 <= data[p] && data[p] <= 126 { + goto st260 + } + goto st0 + st260: + if p++; p == pe { + goto _test_eof260 + } + st_case_260: + if 33 <= data[p] && data[p] <= 126 { + goto st261 + } + goto st0 + st261: + if p++; p == pe { + goto _test_eof261 + } + st_case_261: + if 33 <= data[p] && data[p] <= 126 { + goto st262 + } + goto st0 + st262: + if p++; p == pe { + goto _test_eof262 + } + st_case_262: + if 33 <= data[p] && data[p] <= 126 { + goto st263 + } + goto st0 + st263: + if p++; p == pe { + goto _test_eof263 + } + st_case_263: + if 33 <= data[p] && data[p] <= 126 { + goto st264 + } + goto st0 + st264: + if p++; p == pe { + goto _test_eof264 + } + st_case_264: + if 33 <= data[p] && data[p] <= 126 { + goto st265 + } + goto st0 + st265: + if p++; p == pe { + goto _test_eof265 + } + st_case_265: + if 33 <= data[p] && data[p] <= 126 { + goto st266 + } + goto st0 + st266: + if p++; p == pe { + goto _test_eof266 + } + st_case_266: + if 33 <= data[p] && data[p] <= 126 { + goto st267 + } + goto st0 + st267: + if p++; p == pe { + goto _test_eof267 + } + st_case_267: + if 33 <= data[p] && data[p] <= 126 { + goto st268 + } + goto st0 + st268: + if p++; p == pe { + goto _test_eof268 + } + st_case_268: + if 33 <= data[p] && data[p] <= 126 { + goto st269 + } + goto st0 + st269: + if p++; p == pe { + goto _test_eof269 + } + st_case_269: + if 33 <= data[p] && data[p] <= 126 { + goto st270 + } + goto st0 + st270: + if p++; p == pe { + goto _test_eof270 + } + st_case_270: + if 33 <= data[p] && data[p] <= 126 { + goto st271 + } + goto st0 + st271: + if p++; p == pe { + goto _test_eof271 + } + st_case_271: + if 33 <= data[p] && data[p] <= 126 { + goto st272 + } + goto st0 + st272: + if p++; p == pe { + goto _test_eof272 + } + st_case_272: + if 33 <= data[p] && data[p] <= 126 { + goto st273 + } + goto st0 + st273: + if p++; p == pe { + goto _test_eof273 + } + st_case_273: + if 33 <= data[p] && data[p] <= 126 { + goto st274 + } + goto st0 + st274: + if p++; p == pe { + goto _test_eof274 + } + st_case_274: + if 33 <= data[p] && data[p] <= 126 { + goto st275 + } + goto st0 + st275: + if p++; p == pe { + goto _test_eof275 + } + st_case_275: + if 33 <= data[p] && data[p] <= 126 { + goto st276 + } + goto st0 + st276: + if p++; p == pe { + goto _test_eof276 + } + st_case_276: + if 33 <= data[p] && data[p] <= 126 { + goto st277 + } + goto st0 + st277: + if p++; p == pe { + goto _test_eof277 + } + st_case_277: + if 33 <= data[p] && data[p] <= 126 { + goto st278 + } + goto st0 + st278: + if p++; p == pe { + goto _test_eof278 + } + st_case_278: + if 33 <= data[p] && data[p] <= 126 { + goto st279 + } + goto st0 + st279: + if p++; p == pe { + goto _test_eof279 + } + st_case_279: + if 33 <= data[p] && data[p] <= 126 { + goto st280 + } + goto st0 + st280: + if p++; p == pe { + goto _test_eof280 + } + st_case_280: + if 33 <= data[p] && data[p] <= 126 { + goto st281 + } + goto st0 + st281: + if p++; p == pe { + goto _test_eof281 + } + st_case_281: + if 33 <= data[p] && data[p] <= 126 { + goto st282 + } + goto st0 + st282: + if p++; p == pe { + goto _test_eof282 + } + st_case_282: + if 33 <= data[p] && data[p] <= 126 { + goto st283 + } + goto st0 + st283: + if p++; p == pe { + goto _test_eof283 + } + st_case_283: + if 33 <= data[p] && data[p] <= 126 { + goto st284 + } + goto st0 + st284: + if p++; p == pe { + goto _test_eof284 + } + st_case_284: + if 33 <= data[p] && data[p] <= 126 { + goto st285 + } + goto st0 + st285: + if p++; p == pe { + goto _test_eof285 + } + st_case_285: + if 33 <= data[p] && data[p] <= 126 { + goto st286 + } + goto st0 + st286: + if p++; p == pe { + goto _test_eof286 + } + st_case_286: + if 33 <= data[p] && data[p] <= 126 { + goto st287 + } + goto st0 + st287: + if p++; p == pe { + goto _test_eof287 + } + st_case_287: + if 33 <= data[p] && data[p] <= 126 { + goto st288 + } + goto st0 + st288: + if p++; p == pe { + goto _test_eof288 + } + st_case_288: + if 33 <= data[p] && data[p] <= 126 { + goto st289 + } + goto st0 + st289: + if p++; p == pe { + goto _test_eof289 + } + st_case_289: + if 33 <= data[p] && data[p] <= 126 { + goto st290 + } + goto st0 + st290: + if p++; p == pe { + goto _test_eof290 + } + st_case_290: + if 33 <= data[p] && data[p] <= 126 { + goto st291 + } + goto st0 + st291: + if p++; p == pe { + goto _test_eof291 + } + st_case_291: + if 33 <= data[p] && data[p] <= 126 { + goto st292 + } + goto st0 + st292: + if p++; p == pe { + goto _test_eof292 + } + st_case_292: + if 33 <= data[p] && data[p] <= 126 { + goto st293 + } + goto st0 + st293: + if p++; p == pe { + goto _test_eof293 + } + st_case_293: + if 33 <= data[p] && data[p] <= 126 { + goto st294 + } + goto st0 + st294: + if p++; p == pe { + goto _test_eof294 + } + st_case_294: + if 33 <= data[p] && data[p] <= 126 { + goto st295 + } + goto st0 + st295: + if p++; p == pe { + goto _test_eof295 + } + st_case_295: + if 33 <= data[p] && data[p] <= 126 { + goto st296 + } + goto st0 + st296: + if p++; p == pe { + goto _test_eof296 + } + st_case_296: + if 33 <= data[p] && data[p] <= 126 { + goto st297 + } + goto st0 + st297: + if p++; p == pe { + goto _test_eof297 + } + st_case_297: + if 33 <= data[p] && data[p] <= 126 { + goto st298 + } + goto st0 + st298: + if p++; p == pe { + goto _test_eof298 + } + st_case_298: + if 33 <= data[p] && data[p] <= 126 { + goto st299 + } + goto st0 + st299: + if p++; p == pe { + goto _test_eof299 + } + st_case_299: + if 33 <= data[p] && data[p] <= 126 { + goto st300 + } + goto st0 + st300: + if p++; p == pe { + goto _test_eof300 + } + st_case_300: + if 33 <= data[p] && data[p] <= 126 { + goto st301 + } + goto st0 + st301: + if p++; p == pe { + goto _test_eof301 + } + st_case_301: + if 33 <= data[p] && data[p] <= 126 { + goto st302 + } + goto st0 + st302: + if p++; p == pe { + goto _test_eof302 + } + st_case_302: + if 33 <= data[p] && data[p] <= 126 { + goto st303 + } + goto st0 + st303: + if p++; p == pe { + goto _test_eof303 + } + st_case_303: + if 33 <= data[p] && data[p] <= 126 { + goto st304 + } + goto st0 + st304: + if p++; p == pe { + goto _test_eof304 + } + st_case_304: + if 33 <= data[p] && data[p] <= 126 { + goto st305 + } + goto st0 + st305: + if p++; p == pe { + goto _test_eof305 + } + st_case_305: + if 33 <= data[p] && data[p] <= 126 { + goto st306 + } + goto st0 + st306: + if p++; p == pe { + goto _test_eof306 + } + st_case_306: + if 33 <= data[p] && data[p] <= 126 { + goto st307 + } + goto st0 + st307: + if p++; p == pe { + goto _test_eof307 + } + st_case_307: + if 33 <= data[p] && data[p] <= 126 { + goto st308 + } + goto st0 + st308: + if p++; p == pe { + goto _test_eof308 + } + st_case_308: + if 33 <= data[p] && data[p] <= 126 { + goto st309 + } + goto st0 + st309: + if p++; p == pe { + goto _test_eof309 + } + st_case_309: + if 33 <= data[p] && data[p] <= 126 { + goto st310 + } + goto st0 + st310: + if p++; p == pe { + goto _test_eof310 + } + st_case_310: + if 33 <= data[p] && data[p] <= 126 { + goto st311 + } + goto st0 + st311: + if p++; p == pe { + goto _test_eof311 + } + st_case_311: + if 33 <= data[p] && data[p] <= 126 { + goto st312 + } + goto st0 + st312: + if p++; p == pe { + goto _test_eof312 + } + st_case_312: + if 33 <= data[p] && data[p] <= 126 { + goto st313 + } + goto st0 + st313: + if p++; p == pe { + goto _test_eof313 + } + st_case_313: + if 33 <= data[p] && data[p] <= 126 { + goto st314 + } + goto st0 + st314: + if p++; p == pe { + goto _test_eof314 + } + st_case_314: + if 33 <= data[p] && data[p] <= 126 { + goto st315 + } + goto st0 + st315: + if p++; p == pe { + goto _test_eof315 + } + st_case_315: + if 33 <= data[p] && data[p] <= 126 { + goto st316 + } + goto st0 + st316: + if p++; p == pe { + goto _test_eof316 + } + st_case_316: + goto st0 + st_case_46: + if 33 <= data[p] && data[p] <= 126 { + goto tr42 + } + goto st0 + tr42: + + pb = p + + goto st317 + st317: + if p++; p == pe { + goto _test_eof317 + } + st_case_317: + if 33 <= data[p] && data[p] <= 126 { + goto st318 + } + goto st0 + st318: + if p++; p == pe { + goto _test_eof318 + } + st_case_318: + if 33 <= data[p] && data[p] <= 126 { + goto st319 + } + goto st0 + st319: + if p++; p == pe { + goto _test_eof319 + } + st_case_319: + if 33 <= data[p] && data[p] <= 126 { + goto st320 + } + goto st0 + st320: + if p++; p == pe { + goto _test_eof320 + } + st_case_320: + if 33 <= data[p] && data[p] <= 126 { + goto st321 + } + goto st0 + st321: + if p++; p == pe { + goto _test_eof321 + } + st_case_321: + if 33 <= data[p] && data[p] <= 126 { + goto st322 + } + goto st0 + st322: + if p++; p == pe { + goto _test_eof322 + } + st_case_322: + if 33 <= data[p] && data[p] <= 126 { + goto st323 + } + goto st0 + st323: + if p++; p == pe { + goto _test_eof323 + } + st_case_323: + if 33 <= data[p] && data[p] <= 126 { + goto st324 + } + goto st0 + st324: + if p++; p == pe { + goto _test_eof324 + } + st_case_324: + if 33 <= data[p] && data[p] <= 126 { + goto st325 + } + goto st0 + st325: + if p++; p == pe { + goto _test_eof325 + } + st_case_325: + if 33 <= data[p] && data[p] <= 126 { + goto st326 + } + goto st0 + st326: + if p++; p == pe { + goto _test_eof326 + } + st_case_326: + if 33 <= data[p] && data[p] <= 126 { + goto st327 + } + goto st0 + st327: + if p++; p == pe { + goto _test_eof327 + } + st_case_327: + if 33 <= data[p] && data[p] <= 126 { + goto st328 + } + goto st0 + st328: + if p++; p == pe { + goto _test_eof328 + } + st_case_328: + if 33 <= data[p] && data[p] <= 126 { + goto st329 + } + goto st0 + st329: + if p++; p == pe { + goto _test_eof329 + } + st_case_329: + if 33 <= data[p] && data[p] <= 126 { + goto st330 + } + goto st0 + st330: + if p++; p == pe { + goto _test_eof330 + } + st_case_330: + if 33 <= data[p] && data[p] <= 126 { + goto st331 + } + goto st0 + st331: + if p++; p == pe { + goto _test_eof331 + } + st_case_331: + if 33 <= data[p] && data[p] <= 126 { + goto st332 + } + goto st0 + st332: + if p++; p == pe { + goto _test_eof332 + } + st_case_332: + if 33 <= data[p] && data[p] <= 126 { + goto st333 + } + goto st0 + st333: + if p++; p == pe { + goto _test_eof333 + } + st_case_333: + if 33 <= data[p] && data[p] <= 126 { + goto st334 + } + goto st0 + st334: + if p++; p == pe { + goto _test_eof334 + } + st_case_334: + if 33 <= data[p] && data[p] <= 126 { + goto st335 + } + goto st0 + st335: + if p++; p == pe { + goto _test_eof335 + } + st_case_335: + if 33 <= data[p] && data[p] <= 126 { + goto st336 + } + goto st0 + st336: + if p++; p == pe { + goto _test_eof336 + } + st_case_336: + if 33 <= data[p] && data[p] <= 126 { + goto st337 + } + goto st0 + st337: + if p++; p == pe { + goto _test_eof337 + } + st_case_337: + if 33 <= data[p] && data[p] <= 126 { + goto st338 + } + goto st0 + st338: + if p++; p == pe { + goto _test_eof338 + } + st_case_338: + if 33 <= data[p] && data[p] <= 126 { + goto st339 + } + goto st0 + st339: + if p++; p == pe { + goto _test_eof339 + } + st_case_339: + if 33 <= data[p] && data[p] <= 126 { + goto st340 + } + goto st0 + st340: + if p++; p == pe { + goto _test_eof340 + } + st_case_340: + if 33 <= data[p] && data[p] <= 126 { + goto st341 + } + goto st0 + st341: + if p++; p == pe { + goto _test_eof341 + } + st_case_341: + if 33 <= data[p] && data[p] <= 126 { + goto st342 + } + goto st0 + st342: + if p++; p == pe { + goto _test_eof342 + } + st_case_342: + if 33 <= data[p] && data[p] <= 126 { + goto st343 + } + goto st0 + st343: + if p++; p == pe { + goto _test_eof343 + } + st_case_343: + if 33 <= data[p] && data[p] <= 126 { + goto st344 + } + goto st0 + st344: + if p++; p == pe { + goto _test_eof344 + } + st_case_344: + if 33 <= data[p] && data[p] <= 126 { + goto st345 + } + goto st0 + st345: + if p++; p == pe { + goto _test_eof345 + } + st_case_345: + if 33 <= data[p] && data[p] <= 126 { + goto st346 + } + goto st0 + st346: + if p++; p == pe { + goto _test_eof346 + } + st_case_346: + if 33 <= data[p] && data[p] <= 126 { + goto st347 + } + goto st0 + st347: + if p++; p == pe { + goto _test_eof347 + } + st_case_347: + if 33 <= data[p] && data[p] <= 126 { + goto st348 + } + goto st0 + st348: + if p++; p == pe { + goto _test_eof348 + } + st_case_348: + if 33 <= data[p] && data[p] <= 126 { + goto st349 + } + goto st0 + st349: + if p++; p == pe { + goto _test_eof349 + } + st_case_349: + if 33 <= data[p] && data[p] <= 126 { + goto st350 + } + goto st0 + st350: + if p++; p == pe { + goto _test_eof350 + } + st_case_350: + if 33 <= data[p] && data[p] <= 126 { + goto st351 + } + goto st0 + st351: + if p++; p == pe { + goto _test_eof351 + } + st_case_351: + if 33 <= data[p] && data[p] <= 126 { + goto st352 + } + goto st0 + st352: + if p++; p == pe { + goto _test_eof352 + } + st_case_352: + if 33 <= data[p] && data[p] <= 126 { + goto st353 + } + goto st0 + st353: + if p++; p == pe { + goto _test_eof353 + } + st_case_353: + if 33 <= data[p] && data[p] <= 126 { + goto st354 + } + goto st0 + st354: + if p++; p == pe { + goto _test_eof354 + } + st_case_354: + if 33 <= data[p] && data[p] <= 126 { + goto st355 + } + goto st0 + st355: + if p++; p == pe { + goto _test_eof355 + } + st_case_355: + if 33 <= data[p] && data[p] <= 126 { + goto st356 + } + goto st0 + st356: + if p++; p == pe { + goto _test_eof356 + } + st_case_356: + if 33 <= data[p] && data[p] <= 126 { + goto st357 + } + goto st0 + st357: + if p++; p == pe { + goto _test_eof357 + } + st_case_357: + if 33 <= data[p] && data[p] <= 126 { + goto st358 + } + goto st0 + st358: + if p++; p == pe { + goto _test_eof358 + } + st_case_358: + if 33 <= data[p] && data[p] <= 126 { + goto st359 + } + goto st0 + st359: + if p++; p == pe { + goto _test_eof359 + } + st_case_359: + if 33 <= data[p] && data[p] <= 126 { + goto st360 + } + goto st0 + st360: + if p++; p == pe { + goto _test_eof360 + } + st_case_360: + if 33 <= data[p] && data[p] <= 126 { + goto st361 + } + goto st0 + st361: + if p++; p == pe { + goto _test_eof361 + } + st_case_361: + if 33 <= data[p] && data[p] <= 126 { + goto st362 + } + goto st0 + st362: + if p++; p == pe { + goto _test_eof362 + } + st_case_362: + if 33 <= data[p] && data[p] <= 126 { + goto st363 + } + goto st0 + st363: + if p++; p == pe { + goto _test_eof363 + } + st_case_363: + if 33 <= data[p] && data[p] <= 126 { + goto st364 + } + goto st0 + st364: + if p++; p == pe { + goto _test_eof364 + } + st_case_364: + goto st0 + st_case_47: + if 33 <= data[p] && data[p] <= 126 { + goto tr43 + } + goto st0 + tr43: + + pb = p + + goto st365 + st365: + if p++; p == pe { + goto _test_eof365 + } + st_case_365: + if 33 <= data[p] && data[p] <= 126 { + goto st366 + } + goto st0 + st366: + if p++; p == pe { + goto _test_eof366 + } + st_case_366: + if 33 <= data[p] && data[p] <= 126 { + goto st367 + } + goto st0 + st367: + if p++; p == pe { + goto _test_eof367 + } + st_case_367: + if 33 <= data[p] && data[p] <= 126 { + goto st368 + } + goto st0 + st368: + if p++; p == pe { + goto _test_eof368 + } + st_case_368: + if 33 <= data[p] && data[p] <= 126 { + goto st369 + } + goto st0 + st369: + if p++; p == pe { + goto _test_eof369 + } + st_case_369: + if 33 <= data[p] && data[p] <= 126 { + goto st370 + } + goto st0 + st370: + if p++; p == pe { + goto _test_eof370 + } + st_case_370: + if 33 <= data[p] && data[p] <= 126 { + goto st371 + } + goto st0 + st371: + if p++; p == pe { + goto _test_eof371 + } + st_case_371: + if 33 <= data[p] && data[p] <= 126 { + goto st372 + } + goto st0 + st372: + if p++; p == pe { + goto _test_eof372 + } + st_case_372: + if 33 <= data[p] && data[p] <= 126 { + goto st373 + } + goto st0 + st373: + if p++; p == pe { + goto _test_eof373 + } + st_case_373: + if 33 <= data[p] && data[p] <= 126 { + goto st374 + } + goto st0 + st374: + if p++; p == pe { + goto _test_eof374 + } + st_case_374: + if 33 <= data[p] && data[p] <= 126 { + goto st375 + } + goto st0 + st375: + if p++; p == pe { + goto _test_eof375 + } + st_case_375: + if 33 <= data[p] && data[p] <= 126 { + goto st376 + } + goto st0 + st376: + if p++; p == pe { + goto _test_eof376 + } + st_case_376: + if 33 <= data[p] && data[p] <= 126 { + goto st377 + } + goto st0 + st377: + if p++; p == pe { + goto _test_eof377 + } + st_case_377: + if 33 <= data[p] && data[p] <= 126 { + goto st378 + } + goto st0 + st378: + if p++; p == pe { + goto _test_eof378 + } + st_case_378: + if 33 <= data[p] && data[p] <= 126 { + goto st379 + } + goto st0 + st379: + if p++; p == pe { + goto _test_eof379 + } + st_case_379: + if 33 <= data[p] && data[p] <= 126 { + goto st380 + } + goto st0 + st380: + if p++; p == pe { + goto _test_eof380 + } + st_case_380: + if 33 <= data[p] && data[p] <= 126 { + goto st381 + } + goto st0 + st381: + if p++; p == pe { + goto _test_eof381 + } + st_case_381: + if 33 <= data[p] && data[p] <= 126 { + goto st382 + } + goto st0 + st382: + if p++; p == pe { + goto _test_eof382 + } + st_case_382: + if 33 <= data[p] && data[p] <= 126 { + goto st383 + } + goto st0 + st383: + if p++; p == pe { + goto _test_eof383 + } + st_case_383: + if 33 <= data[p] && data[p] <= 126 { + goto st384 + } + goto st0 + st384: + if p++; p == pe { + goto _test_eof384 + } + st_case_384: + if 33 <= data[p] && data[p] <= 126 { + goto st385 + } + goto st0 + st385: + if p++; p == pe { + goto _test_eof385 + } + st_case_385: + if 33 <= data[p] && data[p] <= 126 { + goto st386 + } + goto st0 + st386: + if p++; p == pe { + goto _test_eof386 + } + st_case_386: + if 33 <= data[p] && data[p] <= 126 { + goto st387 + } + goto st0 + st387: + if p++; p == pe { + goto _test_eof387 + } + st_case_387: + if 33 <= data[p] && data[p] <= 126 { + goto st388 + } + goto st0 + st388: + if p++; p == pe { + goto _test_eof388 + } + st_case_388: + if 33 <= data[p] && data[p] <= 126 { + goto st389 + } + goto st0 + st389: + if p++; p == pe { + goto _test_eof389 + } + st_case_389: + if 33 <= data[p] && data[p] <= 126 { + goto st390 + } + goto st0 + st390: + if p++; p == pe { + goto _test_eof390 + } + st_case_390: + if 33 <= data[p] && data[p] <= 126 { + goto st391 + } + goto st0 + st391: + if p++; p == pe { + goto _test_eof391 + } + st_case_391: + if 33 <= data[p] && data[p] <= 126 { + goto st392 + } + goto st0 + st392: + if p++; p == pe { + goto _test_eof392 + } + st_case_392: + if 33 <= data[p] && data[p] <= 126 { + goto st393 + } + goto st0 + st393: + if p++; p == pe { + goto _test_eof393 + } + st_case_393: + if 33 <= data[p] && data[p] <= 126 { + goto st394 + } + goto st0 + st394: + if p++; p == pe { + goto _test_eof394 + } + st_case_394: + if 33 <= data[p] && data[p] <= 126 { + goto st395 + } + goto st0 + st395: + if p++; p == pe { + goto _test_eof395 + } + st_case_395: + if 33 <= data[p] && data[p] <= 126 { + goto st396 + } + goto st0 + st396: + if p++; p == pe { + goto _test_eof396 + } + st_case_396: + if 33 <= data[p] && data[p] <= 126 { + goto st397 + } + goto st0 + st397: + if p++; p == pe { + goto _test_eof397 + } + st_case_397: + if 33 <= data[p] && data[p] <= 126 { + goto st398 + } + goto st0 + st398: + if p++; p == pe { + goto _test_eof398 + } + st_case_398: + if 33 <= data[p] && data[p] <= 126 { + goto st399 + } + goto st0 + st399: + if p++; p == pe { + goto _test_eof399 + } + st_case_399: + if 33 <= data[p] && data[p] <= 126 { + goto st400 + } + goto st0 + st400: + if p++; p == pe { + goto _test_eof400 + } + st_case_400: + if 33 <= data[p] && data[p] <= 126 { + goto st401 + } + goto st0 + st401: + if p++; p == pe { + goto _test_eof401 + } + st_case_401: + if 33 <= data[p] && data[p] <= 126 { + goto st402 + } + goto st0 + st402: + if p++; p == pe { + goto _test_eof402 + } + st_case_402: + if 33 <= data[p] && data[p] <= 126 { + goto st403 + } + goto st0 + st403: + if p++; p == pe { + goto _test_eof403 + } + st_case_403: + if 33 <= data[p] && data[p] <= 126 { + goto st404 + } + goto st0 + st404: + if p++; p == pe { + goto _test_eof404 + } + st_case_404: + if 33 <= data[p] && data[p] <= 126 { + goto st405 + } + goto st0 + st405: + if p++; p == pe { + goto _test_eof405 + } + st_case_405: + if 33 <= data[p] && data[p] <= 126 { + goto st406 + } + goto st0 + st406: + if p++; p == pe { + goto _test_eof406 + } + st_case_406: + if 33 <= data[p] && data[p] <= 126 { + goto st407 + } + goto st0 + st407: + if p++; p == pe { + goto _test_eof407 + } + st_case_407: + if 33 <= data[p] && data[p] <= 126 { + goto st408 + } + goto st0 + st408: + if p++; p == pe { + goto _test_eof408 + } + st_case_408: + if 33 <= data[p] && data[p] <= 126 { + goto st409 + } + goto st0 + st409: + if p++; p == pe { + goto _test_eof409 + } + st_case_409: + if 33 <= data[p] && data[p] <= 126 { + goto st410 + } + goto st0 + st410: + if p++; p == pe { + goto _test_eof410 + } + st_case_410: + if 33 <= data[p] && data[p] <= 126 { + goto st411 + } + goto st0 + st411: + if p++; p == pe { + goto _test_eof411 + } + st_case_411: + if 33 <= data[p] && data[p] <= 126 { + goto st412 + } + goto st0 + st412: + if p++; p == pe { + goto _test_eof412 + } + st_case_412: + if 33 <= data[p] && data[p] <= 126 { + goto st413 + } + goto st0 + st413: + if p++; p == pe { + goto _test_eof413 + } + st_case_413: + if 33 <= data[p] && data[p] <= 126 { + goto st414 + } + goto st0 + st414: + if p++; p == pe { + goto _test_eof414 + } + st_case_414: + if 33 <= data[p] && data[p] <= 126 { + goto st415 + } + goto st0 + st415: + if p++; p == pe { + goto _test_eof415 + } + st_case_415: + if 33 <= data[p] && data[p] <= 126 { + goto st416 + } + goto st0 + st416: + if p++; p == pe { + goto _test_eof416 + } + st_case_416: + if 33 <= data[p] && data[p] <= 126 { + goto st417 + } + goto st0 + st417: + if p++; p == pe { + goto _test_eof417 + } + st_case_417: + if 33 <= data[p] && data[p] <= 126 { + goto st418 + } + goto st0 + st418: + if p++; p == pe { + goto _test_eof418 + } + st_case_418: + if 33 <= data[p] && data[p] <= 126 { + goto st419 + } + goto st0 + st419: + if p++; p == pe { + goto _test_eof419 + } + st_case_419: + if 33 <= data[p] && data[p] <= 126 { + goto st420 + } + goto st0 + st420: + if p++; p == pe { + goto _test_eof420 + } + st_case_420: + if 33 <= data[p] && data[p] <= 126 { + goto st421 + } + goto st0 + st421: + if p++; p == pe { + goto _test_eof421 + } + st_case_421: + if 33 <= data[p] && data[p] <= 126 { + goto st422 + } + goto st0 + st422: + if p++; p == pe { + goto _test_eof422 + } + st_case_422: + if 33 <= data[p] && data[p] <= 126 { + goto st423 + } + goto st0 + st423: + if p++; p == pe { + goto _test_eof423 + } + st_case_423: + if 33 <= data[p] && data[p] <= 126 { + goto st424 + } + goto st0 + st424: + if p++; p == pe { + goto _test_eof424 + } + st_case_424: + if 33 <= data[p] && data[p] <= 126 { + goto st425 + } + goto st0 + st425: + if p++; p == pe { + goto _test_eof425 + } + st_case_425: + if 33 <= data[p] && data[p] <= 126 { + goto st426 + } + goto st0 + st426: + if p++; p == pe { + goto _test_eof426 + } + st_case_426: + if 33 <= data[p] && data[p] <= 126 { + goto st427 + } + goto st0 + st427: + if p++; p == pe { + goto _test_eof427 + } + st_case_427: + if 33 <= data[p] && data[p] <= 126 { + goto st428 + } + goto st0 + st428: + if p++; p == pe { + goto _test_eof428 + } + st_case_428: + if 33 <= data[p] && data[p] <= 126 { + goto st429 + } + goto st0 + st429: + if p++; p == pe { + goto _test_eof429 + } + st_case_429: + if 33 <= data[p] && data[p] <= 126 { + goto st430 + } + goto st0 + st430: + if p++; p == pe { + goto _test_eof430 + } + st_case_430: + if 33 <= data[p] && data[p] <= 126 { + goto st431 + } + goto st0 + st431: + if p++; p == pe { + goto _test_eof431 + } + st_case_431: + if 33 <= data[p] && data[p] <= 126 { + goto st432 + } + goto st0 + st432: + if p++; p == pe { + goto _test_eof432 + } + st_case_432: + if 33 <= data[p] && data[p] <= 126 { + goto st433 + } + goto st0 + st433: + if p++; p == pe { + goto _test_eof433 + } + st_case_433: + if 33 <= data[p] && data[p] <= 126 { + goto st434 + } + goto st0 + st434: + if p++; p == pe { + goto _test_eof434 + } + st_case_434: + if 33 <= data[p] && data[p] <= 126 { + goto st435 + } + goto st0 + st435: + if p++; p == pe { + goto _test_eof435 + } + st_case_435: + if 33 <= data[p] && data[p] <= 126 { + goto st436 + } + goto st0 + st436: + if p++; p == pe { + goto _test_eof436 + } + st_case_436: + if 33 <= data[p] && data[p] <= 126 { + goto st437 + } + goto st0 + st437: + if p++; p == pe { + goto _test_eof437 + } + st_case_437: + if 33 <= data[p] && data[p] <= 126 { + goto st438 + } + goto st0 + st438: + if p++; p == pe { + goto _test_eof438 + } + st_case_438: + if 33 <= data[p] && data[p] <= 126 { + goto st439 + } + goto st0 + st439: + if p++; p == pe { + goto _test_eof439 + } + st_case_439: + if 33 <= data[p] && data[p] <= 126 { + goto st440 + } + goto st0 + st440: + if p++; p == pe { + goto _test_eof440 + } + st_case_440: + if 33 <= data[p] && data[p] <= 126 { + goto st441 + } + goto st0 + st441: + if p++; p == pe { + goto _test_eof441 + } + st_case_441: + if 33 <= data[p] && data[p] <= 126 { + goto st442 + } + goto st0 + st442: + if p++; p == pe { + goto _test_eof442 + } + st_case_442: + if 33 <= data[p] && data[p] <= 126 { + goto st443 + } + goto st0 + st443: + if p++; p == pe { + goto _test_eof443 + } + st_case_443: + if 33 <= data[p] && data[p] <= 126 { + goto st444 + } + goto st0 + st444: + if p++; p == pe { + goto _test_eof444 + } + st_case_444: + if 33 <= data[p] && data[p] <= 126 { + goto st445 + } + goto st0 + st445: + if p++; p == pe { + goto _test_eof445 + } + st_case_445: + if 33 <= data[p] && data[p] <= 126 { + goto st446 + } + goto st0 + st446: + if p++; p == pe { + goto _test_eof446 + } + st_case_446: + if 33 <= data[p] && data[p] <= 126 { + goto st447 + } + goto st0 + st447: + if p++; p == pe { + goto _test_eof447 + } + st_case_447: + if 33 <= data[p] && data[p] <= 126 { + goto st448 + } + goto st0 + st448: + if p++; p == pe { + goto _test_eof448 + } + st_case_448: + if 33 <= data[p] && data[p] <= 126 { + goto st449 + } + goto st0 + st449: + if p++; p == pe { + goto _test_eof449 + } + st_case_449: + if 33 <= data[p] && data[p] <= 126 { + goto st450 + } + goto st0 + st450: + if p++; p == pe { + goto _test_eof450 + } + st_case_450: + if 33 <= data[p] && data[p] <= 126 { + goto st451 + } + goto st0 + st451: + if p++; p == pe { + goto _test_eof451 + } + st_case_451: + if 33 <= data[p] && data[p] <= 126 { + goto st452 + } + goto st0 + st452: + if p++; p == pe { + goto _test_eof452 + } + st_case_452: + if 33 <= data[p] && data[p] <= 126 { + goto st453 + } + goto st0 + st453: + if p++; p == pe { + goto _test_eof453 + } + st_case_453: + if 33 <= data[p] && data[p] <= 126 { + goto st454 + } + goto st0 + st454: + if p++; p == pe { + goto _test_eof454 + } + st_case_454: + if 33 <= data[p] && data[p] <= 126 { + goto st455 + } + goto st0 + st455: + if p++; p == pe { + goto _test_eof455 + } + st_case_455: + if 33 <= data[p] && data[p] <= 126 { + goto st456 + } + goto st0 + st456: + if p++; p == pe { + goto _test_eof456 + } + st_case_456: + if 33 <= data[p] && data[p] <= 126 { + goto st457 + } + goto st0 + st457: + if p++; p == pe { + goto _test_eof457 + } + st_case_457: + if 33 <= data[p] && data[p] <= 126 { + goto st458 + } + goto st0 + st458: + if p++; p == pe { + goto _test_eof458 + } + st_case_458: + if 33 <= data[p] && data[p] <= 126 { + goto st459 + } + goto st0 + st459: + if p++; p == pe { + goto _test_eof459 + } + st_case_459: + if 33 <= data[p] && data[p] <= 126 { + goto st460 + } + goto st0 + st460: + if p++; p == pe { + goto _test_eof460 + } + st_case_460: + if 33 <= data[p] && data[p] <= 126 { + goto st461 + } + goto st0 + st461: + if p++; p == pe { + goto _test_eof461 + } + st_case_461: + if 33 <= data[p] && data[p] <= 126 { + goto st462 + } + goto st0 + st462: + if p++; p == pe { + goto _test_eof462 + } + st_case_462: + if 33 <= data[p] && data[p] <= 126 { + goto st463 + } + goto st0 + st463: + if p++; p == pe { + goto _test_eof463 + } + st_case_463: + if 33 <= data[p] && data[p] <= 126 { + goto st464 + } + goto st0 + st464: + if p++; p == pe { + goto _test_eof464 + } + st_case_464: + if 33 <= data[p] && data[p] <= 126 { + goto st465 + } + goto st0 + st465: + if p++; p == pe { + goto _test_eof465 + } + st_case_465: + if 33 <= data[p] && data[p] <= 126 { + goto st466 + } + goto st0 + st466: + if p++; p == pe { + goto _test_eof466 + } + st_case_466: + if 33 <= data[p] && data[p] <= 126 { + goto st467 + } + goto st0 + st467: + if p++; p == pe { + goto _test_eof467 + } + st_case_467: + if 33 <= data[p] && data[p] <= 126 { + goto st468 + } + goto st0 + st468: + if p++; p == pe { + goto _test_eof468 + } + st_case_468: + if 33 <= data[p] && data[p] <= 126 { + goto st469 + } + goto st0 + st469: + if p++; p == pe { + goto _test_eof469 + } + st_case_469: + if 33 <= data[p] && data[p] <= 126 { + goto st470 + } + goto st0 + st470: + if p++; p == pe { + goto _test_eof470 + } + st_case_470: + if 33 <= data[p] && data[p] <= 126 { + goto st471 + } + goto st0 + st471: + if p++; p == pe { + goto _test_eof471 + } + st_case_471: + if 33 <= data[p] && data[p] <= 126 { + goto st472 + } + goto st0 + st472: + if p++; p == pe { + goto _test_eof472 + } + st_case_472: + if 33 <= data[p] && data[p] <= 126 { + goto st473 + } + goto st0 + st473: + if p++; p == pe { + goto _test_eof473 + } + st_case_473: + if 33 <= data[p] && data[p] <= 126 { + goto st474 + } + goto st0 + st474: + if p++; p == pe { + goto _test_eof474 + } + st_case_474: + if 33 <= data[p] && data[p] <= 126 { + goto st475 + } + goto st0 + st475: + if p++; p == pe { + goto _test_eof475 + } + st_case_475: + if 33 <= data[p] && data[p] <= 126 { + goto st476 + } + goto st0 + st476: + if p++; p == pe { + goto _test_eof476 + } + st_case_476: + if 33 <= data[p] && data[p] <= 126 { + goto st477 + } + goto st0 + st477: + if p++; p == pe { + goto _test_eof477 + } + st_case_477: + if 33 <= data[p] && data[p] <= 126 { + goto st478 + } + goto st0 + st478: + if p++; p == pe { + goto _test_eof478 + } + st_case_478: + if 33 <= data[p] && data[p] <= 126 { + goto st479 + } + goto st0 + st479: + if p++; p == pe { + goto _test_eof479 + } + st_case_479: + if 33 <= data[p] && data[p] <= 126 { + goto st480 + } + goto st0 + st480: + if p++; p == pe { + goto _test_eof480 + } + st_case_480: + if 33 <= data[p] && data[p] <= 126 { + goto st481 + } + goto st0 + st481: + if p++; p == pe { + goto _test_eof481 + } + st_case_481: + if 33 <= data[p] && data[p] <= 126 { + goto st482 + } + goto st0 + st482: + if p++; p == pe { + goto _test_eof482 + } + st_case_482: + if 33 <= data[p] && data[p] <= 126 { + goto st483 + } + goto st0 + st483: + if p++; p == pe { + goto _test_eof483 + } + st_case_483: + if 33 <= data[p] && data[p] <= 126 { + goto st484 + } + goto st0 + st484: + if p++; p == pe { + goto _test_eof484 + } + st_case_484: + if 33 <= data[p] && data[p] <= 126 { + goto st485 + } + goto st0 + st485: + if p++; p == pe { + goto _test_eof485 + } + st_case_485: + if 33 <= data[p] && data[p] <= 126 { + goto st486 + } + goto st0 + st486: + if p++; p == pe { + goto _test_eof486 + } + st_case_486: + if 33 <= data[p] && data[p] <= 126 { + goto st487 + } + goto st0 + st487: + if p++; p == pe { + goto _test_eof487 + } + st_case_487: + if 33 <= data[p] && data[p] <= 126 { + goto st488 + } + goto st0 + st488: + if p++; p == pe { + goto _test_eof488 + } + st_case_488: + if 33 <= data[p] && data[p] <= 126 { + goto st489 + } + goto st0 + st489: + if p++; p == pe { + goto _test_eof489 + } + st_case_489: + if 33 <= data[p] && data[p] <= 126 { + goto st490 + } + goto st0 + st490: + if p++; p == pe { + goto _test_eof490 + } + st_case_490: + if 33 <= data[p] && data[p] <= 126 { + goto st491 + } + goto st0 + st491: + if p++; p == pe { + goto _test_eof491 + } + st_case_491: + if 33 <= data[p] && data[p] <= 126 { + goto st492 + } + goto st0 + st492: + if p++; p == pe { + goto _test_eof492 + } + st_case_492: + goto st0 + st_case_48: + if 33 <= data[p] && data[p] <= 126 { + goto tr44 + } + goto st0 + tr44: + + pb = p + + goto st493 + st493: + if p++; p == pe { + goto _test_eof493 + } + st_case_493: + if 33 <= data[p] && data[p] <= 126 { + goto st494 + } + goto st0 + st494: + if p++; p == pe { + goto _test_eof494 + } + st_case_494: + if 33 <= data[p] && data[p] <= 126 { + goto st495 + } + goto st0 + st495: + if p++; p == pe { + goto _test_eof495 + } + st_case_495: + if 33 <= data[p] && data[p] <= 126 { + goto st496 + } + goto st0 + st496: + if p++; p == pe { + goto _test_eof496 + } + st_case_496: + if 33 <= data[p] && data[p] <= 126 { + goto st497 + } + goto st0 + st497: + if p++; p == pe { + goto _test_eof497 + } + st_case_497: + if 33 <= data[p] && data[p] <= 126 { + goto st498 + } + goto st0 + st498: + if p++; p == pe { + goto _test_eof498 + } + st_case_498: + if 33 <= data[p] && data[p] <= 126 { + goto st499 + } + goto st0 + st499: + if p++; p == pe { + goto _test_eof499 + } + st_case_499: + if 33 <= data[p] && data[p] <= 126 { + goto st500 + } + goto st0 + st500: + if p++; p == pe { + goto _test_eof500 + } + st_case_500: + if 33 <= data[p] && data[p] <= 126 { + goto st501 + } + goto st0 + st501: + if p++; p == pe { + goto _test_eof501 + } + st_case_501: + if 33 <= data[p] && data[p] <= 126 { + goto st502 + } + goto st0 + st502: + if p++; p == pe { + goto _test_eof502 + } + st_case_502: + if 33 <= data[p] && data[p] <= 126 { + goto st503 + } + goto st0 + st503: + if p++; p == pe { + goto _test_eof503 + } + st_case_503: + if 33 <= data[p] && data[p] <= 126 { + goto st504 + } + goto st0 + st504: + if p++; p == pe { + goto _test_eof504 + } + st_case_504: + if 33 <= data[p] && data[p] <= 126 { + goto st505 + } + goto st0 + st505: + if p++; p == pe { + goto _test_eof505 + } + st_case_505: + if 33 <= data[p] && data[p] <= 126 { + goto st506 + } + goto st0 + st506: + if p++; p == pe { + goto _test_eof506 + } + st_case_506: + if 33 <= data[p] && data[p] <= 126 { + goto st507 + } + goto st0 + st507: + if p++; p == pe { + goto _test_eof507 + } + st_case_507: + if 33 <= data[p] && data[p] <= 126 { + goto st508 + } + goto st0 + st508: + if p++; p == pe { + goto _test_eof508 + } + st_case_508: + if 33 <= data[p] && data[p] <= 126 { + goto st509 + } + goto st0 + st509: + if p++; p == pe { + goto _test_eof509 + } + st_case_509: + if 33 <= data[p] && data[p] <= 126 { + goto st510 + } + goto st0 + st510: + if p++; p == pe { + goto _test_eof510 + } + st_case_510: + if 33 <= data[p] && data[p] <= 126 { + goto st511 + } + goto st0 + st511: + if p++; p == pe { + goto _test_eof511 + } + st_case_511: + if 33 <= data[p] && data[p] <= 126 { + goto st512 + } + goto st0 + st512: + if p++; p == pe { + goto _test_eof512 + } + st_case_512: + if 33 <= data[p] && data[p] <= 126 { + goto st513 + } + goto st0 + st513: + if p++; p == pe { + goto _test_eof513 + } + st_case_513: + if 33 <= data[p] && data[p] <= 126 { + goto st514 + } + goto st0 + st514: + if p++; p == pe { + goto _test_eof514 + } + st_case_514: + if 33 <= data[p] && data[p] <= 126 { + goto st515 + } + goto st0 + st515: + if p++; p == pe { + goto _test_eof515 + } + st_case_515: + if 33 <= data[p] && data[p] <= 126 { + goto st516 + } + goto st0 + st516: + if p++; p == pe { + goto _test_eof516 + } + st_case_516: + if 33 <= data[p] && data[p] <= 126 { + goto st517 + } + goto st0 + st517: + if p++; p == pe { + goto _test_eof517 + } + st_case_517: + if 33 <= data[p] && data[p] <= 126 { + goto st518 + } + goto st0 + st518: + if p++; p == pe { + goto _test_eof518 + } + st_case_518: + if 33 <= data[p] && data[p] <= 126 { + goto st519 + } + goto st0 + st519: + if p++; p == pe { + goto _test_eof519 + } + st_case_519: + if 33 <= data[p] && data[p] <= 126 { + goto st520 + } + goto st0 + st520: + if p++; p == pe { + goto _test_eof520 + } + st_case_520: + if 33 <= data[p] && data[p] <= 126 { + goto st521 + } + goto st0 + st521: + if p++; p == pe { + goto _test_eof521 + } + st_case_521: + if 33 <= data[p] && data[p] <= 126 { + goto st522 + } + goto st0 + st522: + if p++; p == pe { + goto _test_eof522 + } + st_case_522: + if 33 <= data[p] && data[p] <= 126 { + goto st523 + } + goto st0 + st523: + if p++; p == pe { + goto _test_eof523 + } + st_case_523: + if 33 <= data[p] && data[p] <= 126 { + goto st524 + } + goto st0 + st524: + if p++; p == pe { + goto _test_eof524 + } + st_case_524: + goto st0 + st_case_49: + if data[p] == 33 { + goto tr45 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto tr45 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto tr45 + } + default: + goto tr45 + } + goto st0 + tr45: + + pb = p + + goto st525 + st525: + if p++; p == pe { + goto _test_eof525 + } + st_case_525: + if data[p] == 33 { + goto st526 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st526 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st526 + } + default: + goto st526 + } + goto st0 + st526: + if p++; p == pe { + goto _test_eof526 + } + st_case_526: + if data[p] == 33 { + goto st527 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st527 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st527 + } + default: + goto st527 + } + goto st0 + st527: + if p++; p == pe { + goto _test_eof527 + } + st_case_527: + if data[p] == 33 { + goto st528 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st528 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st528 + } + default: + goto st528 + } + goto st0 + st528: + if p++; p == pe { + goto _test_eof528 + } + st_case_528: + if data[p] == 33 { + goto st529 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st529 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st529 + } + default: + goto st529 + } + goto st0 + st529: + if p++; p == pe { + goto _test_eof529 + } + st_case_529: + if data[p] == 33 { + goto st530 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st530 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st530 + } + default: + goto st530 + } + goto st0 + st530: + if p++; p == pe { + goto _test_eof530 + } + st_case_530: + if data[p] == 33 { + goto st531 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st531 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st531 + } + default: + goto st531 + } + goto st0 + st531: + if p++; p == pe { + goto _test_eof531 + } + st_case_531: + if data[p] == 33 { + goto st532 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st532 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st532 + } + default: + goto st532 + } + goto st0 + st532: + if p++; p == pe { + goto _test_eof532 + } + st_case_532: + if data[p] == 33 { + goto st533 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st533 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st533 + } + default: + goto st533 + } + goto st0 + st533: + if p++; p == pe { + goto _test_eof533 + } + st_case_533: + if data[p] == 33 { + goto st534 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st534 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st534 + } + default: + goto st534 + } + goto st0 + st534: + if p++; p == pe { + goto _test_eof534 + } + st_case_534: + if data[p] == 33 { + goto st535 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st535 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st535 + } + default: + goto st535 + } + goto st0 + st535: + if p++; p == pe { + goto _test_eof535 + } + st_case_535: + if data[p] == 33 { + goto st536 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st536 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st536 + } + default: + goto st536 + } + goto st0 + st536: + if p++; p == pe { + goto _test_eof536 + } + st_case_536: + if data[p] == 33 { + goto st537 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st537 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st537 + } + default: + goto st537 + } + goto st0 + st537: + if p++; p == pe { + goto _test_eof537 + } + st_case_537: + if data[p] == 33 { + goto st538 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st538 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st538 + } + default: + goto st538 + } + goto st0 + st538: + if p++; p == pe { + goto _test_eof538 + } + st_case_538: + if data[p] == 33 { + goto st539 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st539 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st539 + } + default: + goto st539 + } + goto st0 + st539: + if p++; p == pe { + goto _test_eof539 + } + st_case_539: + if data[p] == 33 { + goto st540 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st540 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st540 + } + default: + goto st540 + } + goto st0 + st540: + if p++; p == pe { + goto _test_eof540 + } + st_case_540: + if data[p] == 33 { + goto st541 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st541 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st541 + } + default: + goto st541 + } + goto st0 + st541: + if p++; p == pe { + goto _test_eof541 + } + st_case_541: + if data[p] == 33 { + goto st542 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st542 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st542 + } + default: + goto st542 + } + goto st0 + st542: + if p++; p == pe { + goto _test_eof542 + } + st_case_542: + if data[p] == 33 { + goto st543 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st543 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st543 + } + default: + goto st543 + } + goto st0 + st543: + if p++; p == pe { + goto _test_eof543 + } + st_case_543: + if data[p] == 33 { + goto st544 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st544 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st544 + } + default: + goto st544 + } + goto st0 + st544: + if p++; p == pe { + goto _test_eof544 + } + st_case_544: + if data[p] == 33 { + goto st545 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st545 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st545 + } + default: + goto st545 + } + goto st0 + st545: + if p++; p == pe { + goto _test_eof545 + } + st_case_545: + if data[p] == 33 { + goto st546 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st546 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st546 + } + default: + goto st546 + } + goto st0 + st546: + if p++; p == pe { + goto _test_eof546 + } + st_case_546: + if data[p] == 33 { + goto st547 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st547 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st547 + } + default: + goto st547 + } + goto st0 + st547: + if p++; p == pe { + goto _test_eof547 + } + st_case_547: + if data[p] == 33 { + goto st548 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st548 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st548 + } + default: + goto st548 + } + goto st0 + st548: + if p++; p == pe { + goto _test_eof548 + } + st_case_548: + if data[p] == 33 { + goto st549 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st549 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st549 + } + default: + goto st549 + } + goto st0 + st549: + if p++; p == pe { + goto _test_eof549 + } + st_case_549: + if data[p] == 33 { + goto st550 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st550 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st550 + } + default: + goto st550 + } + goto st0 + st550: + if p++; p == pe { + goto _test_eof550 + } + st_case_550: + if data[p] == 33 { + goto st551 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st551 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st551 + } + default: + goto st551 + } + goto st0 + st551: + if p++; p == pe { + goto _test_eof551 + } + st_case_551: + if data[p] == 33 { + goto st552 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st552 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st552 + } + default: + goto st552 + } + goto st0 + st552: + if p++; p == pe { + goto _test_eof552 + } + st_case_552: + if data[p] == 33 { + goto st553 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st553 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st553 + } + default: + goto st553 + } + goto st0 + st553: + if p++; p == pe { + goto _test_eof553 + } + st_case_553: + if data[p] == 33 { + goto st554 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st554 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st554 + } + default: + goto st554 + } + goto st0 + st554: + if p++; p == pe { + goto _test_eof554 + } + st_case_554: + if data[p] == 33 { + goto st555 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st555 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st555 + } + default: + goto st555 + } + goto st0 + st555: + if p++; p == pe { + goto _test_eof555 + } + st_case_555: + if data[p] == 33 { + goto st556 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st556 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st556 + } + default: + goto st556 + } + goto st0 + st556: + if p++; p == pe { + goto _test_eof556 + } + st_case_556: + goto st0 + st_case_50: + if data[p] == 33 { + goto tr46 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto tr46 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto tr46 + } + default: + goto tr46 + } + goto st0 + tr46: + + pb = p + + goto st557 + st557: + if p++; p == pe { + goto _test_eof557 + } + st_case_557: + if data[p] == 33 { + goto st558 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st558 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st558 + } + default: + goto st558 + } + goto st0 + st558: + if p++; p == pe { + goto _test_eof558 + } + st_case_558: + if data[p] == 33 { + goto st559 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st559 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st559 + } + default: + goto st559 + } + goto st0 + st559: + if p++; p == pe { + goto _test_eof559 + } + st_case_559: + if data[p] == 33 { + goto st560 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st560 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st560 + } + default: + goto st560 + } + goto st0 + st560: + if p++; p == pe { + goto _test_eof560 + } + st_case_560: + if data[p] == 33 { + goto st561 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st561 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st561 + } + default: + goto st561 + } + goto st0 + st561: + if p++; p == pe { + goto _test_eof561 + } + st_case_561: + if data[p] == 33 { + goto st562 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st562 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st562 + } + default: + goto st562 + } + goto st0 + st562: + if p++; p == pe { + goto _test_eof562 + } + st_case_562: + if data[p] == 33 { + goto st563 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st563 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st563 + } + default: + goto st563 + } + goto st0 + st563: + if p++; p == pe { + goto _test_eof563 + } + st_case_563: + if data[p] == 33 { + goto st564 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st564 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st564 + } + default: + goto st564 + } + goto st0 + st564: + if p++; p == pe { + goto _test_eof564 + } + st_case_564: + if data[p] == 33 { + goto st565 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st565 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st565 + } + default: + goto st565 + } + goto st0 + st565: + if p++; p == pe { + goto _test_eof565 + } + st_case_565: + if data[p] == 33 { + goto st566 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st566 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st566 + } + default: + goto st566 + } + goto st0 + st566: + if p++; p == pe { + goto _test_eof566 + } + st_case_566: + if data[p] == 33 { + goto st567 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st567 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st567 + } + default: + goto st567 + } + goto st0 + st567: + if p++; p == pe { + goto _test_eof567 + } + st_case_567: + if data[p] == 33 { + goto st568 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st568 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st568 + } + default: + goto st568 + } + goto st0 + st568: + if p++; p == pe { + goto _test_eof568 + } + st_case_568: + if data[p] == 33 { + goto st569 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st569 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st569 + } + default: + goto st569 + } + goto st0 + st569: + if p++; p == pe { + goto _test_eof569 + } + st_case_569: + if data[p] == 33 { + goto st570 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st570 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st570 + } + default: + goto st570 + } + goto st0 + st570: + if p++; p == pe { + goto _test_eof570 + } + st_case_570: + if data[p] == 33 { + goto st571 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st571 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st571 + } + default: + goto st571 + } + goto st0 + st571: + if p++; p == pe { + goto _test_eof571 + } + st_case_571: + if data[p] == 33 { + goto st572 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st572 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st572 + } + default: + goto st572 + } + goto st0 + st572: + if p++; p == pe { + goto _test_eof572 + } + st_case_572: + if data[p] == 33 { + goto st573 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st573 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st573 + } + default: + goto st573 + } + goto st0 + st573: + if p++; p == pe { + goto _test_eof573 + } + st_case_573: + if data[p] == 33 { + goto st574 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st574 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st574 + } + default: + goto st574 + } + goto st0 + st574: + if p++; p == pe { + goto _test_eof574 + } + st_case_574: + if data[p] == 33 { + goto st575 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st575 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st575 + } + default: + goto st575 + } + goto st0 + st575: + if p++; p == pe { + goto _test_eof575 + } + st_case_575: + if data[p] == 33 { + goto st576 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st576 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st576 + } + default: + goto st576 + } + goto st0 + st576: + if p++; p == pe { + goto _test_eof576 + } + st_case_576: + if data[p] == 33 { + goto st577 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st577 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st577 + } + default: + goto st577 + } + goto st0 + st577: + if p++; p == pe { + goto _test_eof577 + } + st_case_577: + if data[p] == 33 { + goto st578 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st578 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st578 + } + default: + goto st578 + } + goto st0 + st578: + if p++; p == pe { + goto _test_eof578 + } + st_case_578: + if data[p] == 33 { + goto st579 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st579 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st579 + } + default: + goto st579 + } + goto st0 + st579: + if p++; p == pe { + goto _test_eof579 + } + st_case_579: + if data[p] == 33 { + goto st580 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st580 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st580 + } + default: + goto st580 + } + goto st0 + st580: + if p++; p == pe { + goto _test_eof580 + } + st_case_580: + if data[p] == 33 { + goto st581 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st581 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st581 + } + default: + goto st581 + } + goto st0 + st581: + if p++; p == pe { + goto _test_eof581 + } + st_case_581: + if data[p] == 33 { + goto st582 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st582 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st582 + } + default: + goto st582 + } + goto st0 + st582: + if p++; p == pe { + goto _test_eof582 + } + st_case_582: + if data[p] == 33 { + goto st583 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st583 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st583 + } + default: + goto st583 + } + goto st0 + st583: + if p++; p == pe { + goto _test_eof583 + } + st_case_583: + if data[p] == 33 { + goto st584 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st584 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st584 + } + default: + goto st584 + } + goto st0 + st584: + if p++; p == pe { + goto _test_eof584 + } + st_case_584: + if data[p] == 33 { + goto st585 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st585 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st585 + } + default: + goto st585 + } + goto st0 + st585: + if p++; p == pe { + goto _test_eof585 + } + st_case_585: + if data[p] == 33 { + goto st586 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st586 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st586 + } + default: + goto st586 + } + goto st0 + st586: + if p++; p == pe { + goto _test_eof586 + } + st_case_586: + if data[p] == 33 { + goto st587 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st587 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st587 + } + default: + goto st587 + } + goto st0 + st587: + if p++; p == pe { + goto _test_eof587 + } + st_case_587: + if data[p] == 33 { + goto st588 + } + switch { + case data[p] < 62: + if 35 <= data[p] && data[p] <= 60 { + goto st588 + } + case data[p] > 92: + if 94 <= data[p] && data[p] <= 126 { + goto st588 + } + default: + goto st588 + } + goto st0 + st588: + if p++; p == pe { + goto _test_eof588 + } + st_case_588: + goto st0 + st_case_589: + switch data[p] { + case 34: + goto st0 + case 92: + goto tr585 + case 93: + goto st0 + case 224: + goto tr587 + case 237: + goto tr589 + case 240: + goto tr590 + case 244: + goto tr592 + } + switch { + case data[p] < 225: + switch { + case data[p] > 193: + if 194 <= data[p] && data[p] <= 223 { + goto tr586 + } + case data[p] >= 128: + goto st0 + } + case data[p] > 239: + switch { + case data[p] > 243: + if 245 <= data[p] { + goto st0 + } + case data[p] >= 241: + goto tr591 + } + default: + goto tr588 + } + goto tr584 + tr584: + + pb = p + + goto st590 + st590: + if p++; p == pe { + goto _test_eof590 + } + st_case_590: + switch data[p] { + case 34: + goto st0 + case 92: + goto tr593 + case 93: + goto st0 + case 224: + goto st53 + case 237: + goto st55 + case 240: + goto st56 + case 244: + goto st58 + } + switch { + case data[p] < 225: + switch { + case data[p] > 193: + if 194 <= data[p] && data[p] <= 223 { + goto st52 + } + case data[p] >= 128: + goto st0 + } + case data[p] > 239: + switch { + case data[p] > 243: + if 245 <= data[p] { + goto st0 + } + case data[p] >= 241: + goto st57 + } + default: + goto st54 + } + goto st590 + tr585: + + pb = p + + backslashes = append(backslashes, p) + + goto st51 + tr593: + + backslashes = append(backslashes, p) + + goto st51 + st51: + if p++; p == pe { + goto _test_eof51 + } + st_case_51: + if data[p] == 34 { + goto st590 + } + if 92 <= data[p] && data[p] <= 93 { + goto st590 + } + goto st0 + tr586: + + pb = p + + goto st52 + st52: + if p++; p == pe { + goto _test_eof52 + } + st_case_52: + if 128 <= data[p] && data[p] <= 191 { + goto st590 + } + goto st0 + tr587: + + pb = p + + goto st53 + st53: + if p++; p == pe { + goto _test_eof53 + } + st_case_53: + if 160 <= data[p] && data[p] <= 191 { + goto st52 + } + goto st0 + tr588: + + pb = p + + goto st54 + st54: + if p++; p == pe { + goto _test_eof54 + } + st_case_54: + if 128 <= data[p] && data[p] <= 191 { + goto st52 + } + goto st0 + tr589: + + pb = p + + goto st55 + st55: + if p++; p == pe { + goto _test_eof55 + } + st_case_55: + if 128 <= data[p] && data[p] <= 159 { + goto st52 + } + goto st0 + tr590: + + pb = p + + goto st56 + st56: + if p++; p == pe { + goto _test_eof56 + } + st_case_56: + if 144 <= data[p] && data[p] <= 191 { + goto st54 + } + goto st0 + tr591: + + pb = p + + goto st57 + st57: + if p++; p == pe { + goto _test_eof57 + } + st_case_57: + if 128 <= data[p] && data[p] <= 191 { + goto st54 + } + goto st0 + tr592: + + pb = p + + goto st58 + st58: + if p++; p == pe { + goto _test_eof58 + } + st_case_58: + if 128 <= data[p] && data[p] <= 143 { + goto st54 + } + goto st0 + st_out: + _test_eof60: + cs = 60 + goto _test_eof + _test_eof1: + cs = 1 + goto _test_eof + _test_eof2: + cs = 2 + goto _test_eof + _test_eof3: + cs = 3 + goto _test_eof + _test_eof4: + cs = 4 + goto _test_eof + _test_eof5: + cs = 5 + goto _test_eof + _test_eof6: + cs = 6 + goto _test_eof + _test_eof7: + cs = 7 + goto _test_eof + _test_eof9: + cs = 9 + goto _test_eof + _test_eof10: + cs = 10 + goto _test_eof + _test_eof11: + cs = 11 + goto _test_eof + _test_eof12: + cs = 12 + goto _test_eof + _test_eof13: + cs = 13 + goto _test_eof + _test_eof14: + cs = 14 + goto _test_eof + _test_eof15: + cs = 15 + goto _test_eof + _test_eof16: + cs = 16 + goto _test_eof + _test_eof17: + cs = 17 + goto _test_eof + _test_eof18: + cs = 18 + goto _test_eof + _test_eof19: + cs = 19 + goto _test_eof + _test_eof20: + cs = 20 + goto _test_eof + _test_eof21: + cs = 21 + goto _test_eof + _test_eof22: + cs = 22 + goto _test_eof + _test_eof23: + cs = 23 + goto _test_eof + _test_eof24: + cs = 24 + goto _test_eof + _test_eof25: + cs = 25 + goto _test_eof + _test_eof26: + cs = 26 + goto _test_eof + _test_eof27: + cs = 27 + goto _test_eof + _test_eof28: + cs = 28 + goto _test_eof + _test_eof29: + cs = 29 + goto _test_eof + _test_eof30: + cs = 30 + goto _test_eof + _test_eof31: + cs = 31 + goto _test_eof + _test_eof32: + cs = 32 + goto _test_eof + _test_eof61: + cs = 61 + goto _test_eof + _test_eof33: + cs = 33 + goto _test_eof + _test_eof34: + cs = 34 + goto _test_eof + _test_eof35: + cs = 35 + goto _test_eof + _test_eof36: + cs = 36 + goto _test_eof + _test_eof37: + cs = 37 + goto _test_eof + _test_eof38: + cs = 38 + goto _test_eof + _test_eof39: + cs = 39 + goto _test_eof + _test_eof40: + cs = 40 + goto _test_eof + _test_eof41: + cs = 41 + goto _test_eof + _test_eof42: + cs = 42 + goto _test_eof + _test_eof43: + cs = 43 + goto _test_eof + _test_eof44: + cs = 44 + goto _test_eof + _test_eof62: + cs = 62 + goto _test_eof + _test_eof63: + cs = 63 + goto _test_eof + _test_eof64: + cs = 64 + goto _test_eof + _test_eof65: + cs = 65 + goto _test_eof + _test_eof66: + cs = 66 + goto _test_eof + _test_eof67: + cs = 67 + goto _test_eof + _test_eof68: + cs = 68 + goto _test_eof + _test_eof69: + cs = 69 + goto _test_eof + _test_eof70: + cs = 70 + goto _test_eof + _test_eof71: + cs = 71 + goto _test_eof + _test_eof72: + cs = 72 + goto _test_eof + _test_eof73: + cs = 73 + goto _test_eof + _test_eof74: + cs = 74 + goto _test_eof + _test_eof75: + cs = 75 + goto _test_eof + _test_eof76: + cs = 76 + goto _test_eof + _test_eof77: + cs = 77 + goto _test_eof + _test_eof78: + cs = 78 + goto _test_eof + _test_eof79: + cs = 79 + goto _test_eof + _test_eof80: + cs = 80 + goto _test_eof + _test_eof81: + cs = 81 + goto _test_eof + _test_eof82: + cs = 82 + goto _test_eof + _test_eof83: + cs = 83 + goto _test_eof + _test_eof84: + cs = 84 + goto _test_eof + _test_eof85: + cs = 85 + goto _test_eof + _test_eof86: + cs = 86 + goto _test_eof + _test_eof87: + cs = 87 + goto _test_eof + _test_eof88: + cs = 88 + goto _test_eof + _test_eof89: + cs = 89 + goto _test_eof + _test_eof90: + cs = 90 + goto _test_eof + _test_eof91: + cs = 91 + goto _test_eof + _test_eof92: + cs = 92 + goto _test_eof + _test_eof93: + cs = 93 + goto _test_eof + _test_eof94: + cs = 94 + goto _test_eof + _test_eof95: + cs = 95 + goto _test_eof + _test_eof96: + cs = 96 + goto _test_eof + _test_eof97: + cs = 97 + goto _test_eof + _test_eof98: + cs = 98 + goto _test_eof + _test_eof99: + cs = 99 + goto _test_eof + _test_eof100: + cs = 100 + goto _test_eof + _test_eof101: + cs = 101 + goto _test_eof + _test_eof102: + cs = 102 + goto _test_eof + _test_eof103: + cs = 103 + goto _test_eof + _test_eof104: + cs = 104 + goto _test_eof + _test_eof105: + cs = 105 + goto _test_eof + _test_eof106: + cs = 106 + goto _test_eof + _test_eof107: + cs = 107 + goto _test_eof + _test_eof108: + cs = 108 + goto _test_eof + _test_eof109: + cs = 109 + goto _test_eof + _test_eof110: + cs = 110 + goto _test_eof + _test_eof111: + cs = 111 + goto _test_eof + _test_eof112: + cs = 112 + goto _test_eof + _test_eof113: + cs = 113 + goto _test_eof + _test_eof114: + cs = 114 + goto _test_eof + _test_eof115: + cs = 115 + goto _test_eof + _test_eof116: + cs = 116 + goto _test_eof + _test_eof117: + cs = 117 + goto _test_eof + _test_eof118: + cs = 118 + goto _test_eof + _test_eof119: + cs = 119 + goto _test_eof + _test_eof120: + cs = 120 + goto _test_eof + _test_eof121: + cs = 121 + goto _test_eof + _test_eof122: + cs = 122 + goto _test_eof + _test_eof123: + cs = 123 + goto _test_eof + _test_eof124: + cs = 124 + goto _test_eof + _test_eof125: + cs = 125 + goto _test_eof + _test_eof126: + cs = 126 + goto _test_eof + _test_eof127: + cs = 127 + goto _test_eof + _test_eof128: + cs = 128 + goto _test_eof + _test_eof129: + cs = 129 + goto _test_eof + _test_eof130: + cs = 130 + goto _test_eof + _test_eof131: + cs = 131 + goto _test_eof + _test_eof132: + cs = 132 + goto _test_eof + _test_eof133: + cs = 133 + goto _test_eof + _test_eof134: + cs = 134 + goto _test_eof + _test_eof135: + cs = 135 + goto _test_eof + _test_eof136: + cs = 136 + goto _test_eof + _test_eof137: + cs = 137 + goto _test_eof + _test_eof138: + cs = 138 + goto _test_eof + _test_eof139: + cs = 139 + goto _test_eof + _test_eof140: + cs = 140 + goto _test_eof + _test_eof141: + cs = 141 + goto _test_eof + _test_eof142: + cs = 142 + goto _test_eof + _test_eof143: + cs = 143 + goto _test_eof + _test_eof144: + cs = 144 + goto _test_eof + _test_eof145: + cs = 145 + goto _test_eof + _test_eof146: + cs = 146 + goto _test_eof + _test_eof147: + cs = 147 + goto _test_eof + _test_eof148: + cs = 148 + goto _test_eof + _test_eof149: + cs = 149 + goto _test_eof + _test_eof150: + cs = 150 + goto _test_eof + _test_eof151: + cs = 151 + goto _test_eof + _test_eof152: + cs = 152 + goto _test_eof + _test_eof153: + cs = 153 + goto _test_eof + _test_eof154: + cs = 154 + goto _test_eof + _test_eof155: + cs = 155 + goto _test_eof + _test_eof156: + cs = 156 + goto _test_eof + _test_eof157: + cs = 157 + goto _test_eof + _test_eof158: + cs = 158 + goto _test_eof + _test_eof159: + cs = 159 + goto _test_eof + _test_eof160: + cs = 160 + goto _test_eof + _test_eof161: + cs = 161 + goto _test_eof + _test_eof162: + cs = 162 + goto _test_eof + _test_eof163: + cs = 163 + goto _test_eof + _test_eof164: + cs = 164 + goto _test_eof + _test_eof165: + cs = 165 + goto _test_eof + _test_eof166: + cs = 166 + goto _test_eof + _test_eof167: + cs = 167 + goto _test_eof + _test_eof168: + cs = 168 + goto _test_eof + _test_eof169: + cs = 169 + goto _test_eof + _test_eof170: + cs = 170 + goto _test_eof + _test_eof171: + cs = 171 + goto _test_eof + _test_eof172: + cs = 172 + goto _test_eof + _test_eof173: + cs = 173 + goto _test_eof + _test_eof174: + cs = 174 + goto _test_eof + _test_eof175: + cs = 175 + goto _test_eof + _test_eof176: + cs = 176 + goto _test_eof + _test_eof177: + cs = 177 + goto _test_eof + _test_eof178: + cs = 178 + goto _test_eof + _test_eof179: + cs = 179 + goto _test_eof + _test_eof180: + cs = 180 + goto _test_eof + _test_eof181: + cs = 181 + goto _test_eof + _test_eof182: + cs = 182 + goto _test_eof + _test_eof183: + cs = 183 + goto _test_eof + _test_eof184: + cs = 184 + goto _test_eof + _test_eof185: + cs = 185 + goto _test_eof + _test_eof186: + cs = 186 + goto _test_eof + _test_eof187: + cs = 187 + goto _test_eof + _test_eof188: + cs = 188 + goto _test_eof + _test_eof189: + cs = 189 + goto _test_eof + _test_eof190: + cs = 190 + goto _test_eof + _test_eof191: + cs = 191 + goto _test_eof + _test_eof192: + cs = 192 + goto _test_eof + _test_eof193: + cs = 193 + goto _test_eof + _test_eof194: + cs = 194 + goto _test_eof + _test_eof195: + cs = 195 + goto _test_eof + _test_eof196: + cs = 196 + goto _test_eof + _test_eof197: + cs = 197 + goto _test_eof + _test_eof198: + cs = 198 + goto _test_eof + _test_eof199: + cs = 199 + goto _test_eof + _test_eof200: + cs = 200 + goto _test_eof + _test_eof201: + cs = 201 + goto _test_eof + _test_eof202: + cs = 202 + goto _test_eof + _test_eof203: + cs = 203 + goto _test_eof + _test_eof204: + cs = 204 + goto _test_eof + _test_eof205: + cs = 205 + goto _test_eof + _test_eof206: + cs = 206 + goto _test_eof + _test_eof207: + cs = 207 + goto _test_eof + _test_eof208: + cs = 208 + goto _test_eof + _test_eof209: + cs = 209 + goto _test_eof + _test_eof210: + cs = 210 + goto _test_eof + _test_eof211: + cs = 211 + goto _test_eof + _test_eof212: + cs = 212 + goto _test_eof + _test_eof213: + cs = 213 + goto _test_eof + _test_eof214: + cs = 214 + goto _test_eof + _test_eof215: + cs = 215 + goto _test_eof + _test_eof216: + cs = 216 + goto _test_eof + _test_eof217: + cs = 217 + goto _test_eof + _test_eof218: + cs = 218 + goto _test_eof + _test_eof219: + cs = 219 + goto _test_eof + _test_eof220: + cs = 220 + goto _test_eof + _test_eof221: + cs = 221 + goto _test_eof + _test_eof222: + cs = 222 + goto _test_eof + _test_eof223: + cs = 223 + goto _test_eof + _test_eof224: + cs = 224 + goto _test_eof + _test_eof225: + cs = 225 + goto _test_eof + _test_eof226: + cs = 226 + goto _test_eof + _test_eof227: + cs = 227 + goto _test_eof + _test_eof228: + cs = 228 + goto _test_eof + _test_eof229: + cs = 229 + goto _test_eof + _test_eof230: + cs = 230 + goto _test_eof + _test_eof231: + cs = 231 + goto _test_eof + _test_eof232: + cs = 232 + goto _test_eof + _test_eof233: + cs = 233 + goto _test_eof + _test_eof234: + cs = 234 + goto _test_eof + _test_eof235: + cs = 235 + goto _test_eof + _test_eof236: + cs = 236 + goto _test_eof + _test_eof237: + cs = 237 + goto _test_eof + _test_eof238: + cs = 238 + goto _test_eof + _test_eof239: + cs = 239 + goto _test_eof + _test_eof240: + cs = 240 + goto _test_eof + _test_eof241: + cs = 241 + goto _test_eof + _test_eof242: + cs = 242 + goto _test_eof + _test_eof243: + cs = 243 + goto _test_eof + _test_eof244: + cs = 244 + goto _test_eof + _test_eof245: + cs = 245 + goto _test_eof + _test_eof246: + cs = 246 + goto _test_eof + _test_eof247: + cs = 247 + goto _test_eof + _test_eof248: + cs = 248 + goto _test_eof + _test_eof249: + cs = 249 + goto _test_eof + _test_eof250: + cs = 250 + goto _test_eof + _test_eof251: + cs = 251 + goto _test_eof + _test_eof252: + cs = 252 + goto _test_eof + _test_eof253: + cs = 253 + goto _test_eof + _test_eof254: + cs = 254 + goto _test_eof + _test_eof255: + cs = 255 + goto _test_eof + _test_eof256: + cs = 256 + goto _test_eof + _test_eof257: + cs = 257 + goto _test_eof + _test_eof258: + cs = 258 + goto _test_eof + _test_eof259: + cs = 259 + goto _test_eof + _test_eof260: + cs = 260 + goto _test_eof + _test_eof261: + cs = 261 + goto _test_eof + _test_eof262: + cs = 262 + goto _test_eof + _test_eof263: + cs = 263 + goto _test_eof + _test_eof264: + cs = 264 + goto _test_eof + _test_eof265: + cs = 265 + goto _test_eof + _test_eof266: + cs = 266 + goto _test_eof + _test_eof267: + cs = 267 + goto _test_eof + _test_eof268: + cs = 268 + goto _test_eof + _test_eof269: + cs = 269 + goto _test_eof + _test_eof270: + cs = 270 + goto _test_eof + _test_eof271: + cs = 271 + goto _test_eof + _test_eof272: + cs = 272 + goto _test_eof + _test_eof273: + cs = 273 + goto _test_eof + _test_eof274: + cs = 274 + goto _test_eof + _test_eof275: + cs = 275 + goto _test_eof + _test_eof276: + cs = 276 + goto _test_eof + _test_eof277: + cs = 277 + goto _test_eof + _test_eof278: + cs = 278 + goto _test_eof + _test_eof279: + cs = 279 + goto _test_eof + _test_eof280: + cs = 280 + goto _test_eof + _test_eof281: + cs = 281 + goto _test_eof + _test_eof282: + cs = 282 + goto _test_eof + _test_eof283: + cs = 283 + goto _test_eof + _test_eof284: + cs = 284 + goto _test_eof + _test_eof285: + cs = 285 + goto _test_eof + _test_eof286: + cs = 286 + goto _test_eof + _test_eof287: + cs = 287 + goto _test_eof + _test_eof288: + cs = 288 + goto _test_eof + _test_eof289: + cs = 289 + goto _test_eof + _test_eof290: + cs = 290 + goto _test_eof + _test_eof291: + cs = 291 + goto _test_eof + _test_eof292: + cs = 292 + goto _test_eof + _test_eof293: + cs = 293 + goto _test_eof + _test_eof294: + cs = 294 + goto _test_eof + _test_eof295: + cs = 295 + goto _test_eof + _test_eof296: + cs = 296 + goto _test_eof + _test_eof297: + cs = 297 + goto _test_eof + _test_eof298: + cs = 298 + goto _test_eof + _test_eof299: + cs = 299 + goto _test_eof + _test_eof300: + cs = 300 + goto _test_eof + _test_eof301: + cs = 301 + goto _test_eof + _test_eof302: + cs = 302 + goto _test_eof + _test_eof303: + cs = 303 + goto _test_eof + _test_eof304: + cs = 304 + goto _test_eof + _test_eof305: + cs = 305 + goto _test_eof + _test_eof306: + cs = 306 + goto _test_eof + _test_eof307: + cs = 307 + goto _test_eof + _test_eof308: + cs = 308 + goto _test_eof + _test_eof309: + cs = 309 + goto _test_eof + _test_eof310: + cs = 310 + goto _test_eof + _test_eof311: + cs = 311 + goto _test_eof + _test_eof312: + cs = 312 + goto _test_eof + _test_eof313: + cs = 313 + goto _test_eof + _test_eof314: + cs = 314 + goto _test_eof + _test_eof315: + cs = 315 + goto _test_eof + _test_eof316: + cs = 316 + goto _test_eof + _test_eof317: + cs = 317 + goto _test_eof + _test_eof318: + cs = 318 + goto _test_eof + _test_eof319: + cs = 319 + goto _test_eof + _test_eof320: + cs = 320 + goto _test_eof + _test_eof321: + cs = 321 + goto _test_eof + _test_eof322: + cs = 322 + goto _test_eof + _test_eof323: + cs = 323 + goto _test_eof + _test_eof324: + cs = 324 + goto _test_eof + _test_eof325: + cs = 325 + goto _test_eof + _test_eof326: + cs = 326 + goto _test_eof + _test_eof327: + cs = 327 + goto _test_eof + _test_eof328: + cs = 328 + goto _test_eof + _test_eof329: + cs = 329 + goto _test_eof + _test_eof330: + cs = 330 + goto _test_eof + _test_eof331: + cs = 331 + goto _test_eof + _test_eof332: + cs = 332 + goto _test_eof + _test_eof333: + cs = 333 + goto _test_eof + _test_eof334: + cs = 334 + goto _test_eof + _test_eof335: + cs = 335 + goto _test_eof + _test_eof336: + cs = 336 + goto _test_eof + _test_eof337: + cs = 337 + goto _test_eof + _test_eof338: + cs = 338 + goto _test_eof + _test_eof339: + cs = 339 + goto _test_eof + _test_eof340: + cs = 340 + goto _test_eof + _test_eof341: + cs = 341 + goto _test_eof + _test_eof342: + cs = 342 + goto _test_eof + _test_eof343: + cs = 343 + goto _test_eof + _test_eof344: + cs = 344 + goto _test_eof + _test_eof345: + cs = 345 + goto _test_eof + _test_eof346: + cs = 346 + goto _test_eof + _test_eof347: + cs = 347 + goto _test_eof + _test_eof348: + cs = 348 + goto _test_eof + _test_eof349: + cs = 349 + goto _test_eof + _test_eof350: + cs = 350 + goto _test_eof + _test_eof351: + cs = 351 + goto _test_eof + _test_eof352: + cs = 352 + goto _test_eof + _test_eof353: + cs = 353 + goto _test_eof + _test_eof354: + cs = 354 + goto _test_eof + _test_eof355: + cs = 355 + goto _test_eof + _test_eof356: + cs = 356 + goto _test_eof + _test_eof357: + cs = 357 + goto _test_eof + _test_eof358: + cs = 358 + goto _test_eof + _test_eof359: + cs = 359 + goto _test_eof + _test_eof360: + cs = 360 + goto _test_eof + _test_eof361: + cs = 361 + goto _test_eof + _test_eof362: + cs = 362 + goto _test_eof + _test_eof363: + cs = 363 + goto _test_eof + _test_eof364: + cs = 364 + goto _test_eof + _test_eof365: + cs = 365 + goto _test_eof + _test_eof366: + cs = 366 + goto _test_eof + _test_eof367: + cs = 367 + goto _test_eof + _test_eof368: + cs = 368 + goto _test_eof + _test_eof369: + cs = 369 + goto _test_eof + _test_eof370: + cs = 370 + goto _test_eof + _test_eof371: + cs = 371 + goto _test_eof + _test_eof372: + cs = 372 + goto _test_eof + _test_eof373: + cs = 373 + goto _test_eof + _test_eof374: + cs = 374 + goto _test_eof + _test_eof375: + cs = 375 + goto _test_eof + _test_eof376: + cs = 376 + goto _test_eof + _test_eof377: + cs = 377 + goto _test_eof + _test_eof378: + cs = 378 + goto _test_eof + _test_eof379: + cs = 379 + goto _test_eof + _test_eof380: + cs = 380 + goto _test_eof + _test_eof381: + cs = 381 + goto _test_eof + _test_eof382: + cs = 382 + goto _test_eof + _test_eof383: + cs = 383 + goto _test_eof + _test_eof384: + cs = 384 + goto _test_eof + _test_eof385: + cs = 385 + goto _test_eof + _test_eof386: + cs = 386 + goto _test_eof + _test_eof387: + cs = 387 + goto _test_eof + _test_eof388: + cs = 388 + goto _test_eof + _test_eof389: + cs = 389 + goto _test_eof + _test_eof390: + cs = 390 + goto _test_eof + _test_eof391: + cs = 391 + goto _test_eof + _test_eof392: + cs = 392 + goto _test_eof + _test_eof393: + cs = 393 + goto _test_eof + _test_eof394: + cs = 394 + goto _test_eof + _test_eof395: + cs = 395 + goto _test_eof + _test_eof396: + cs = 396 + goto _test_eof + _test_eof397: + cs = 397 + goto _test_eof + _test_eof398: + cs = 398 + goto _test_eof + _test_eof399: + cs = 399 + goto _test_eof + _test_eof400: + cs = 400 + goto _test_eof + _test_eof401: + cs = 401 + goto _test_eof + _test_eof402: + cs = 402 + goto _test_eof + _test_eof403: + cs = 403 + goto _test_eof + _test_eof404: + cs = 404 + goto _test_eof + _test_eof405: + cs = 405 + goto _test_eof + _test_eof406: + cs = 406 + goto _test_eof + _test_eof407: + cs = 407 + goto _test_eof + _test_eof408: + cs = 408 + goto _test_eof + _test_eof409: + cs = 409 + goto _test_eof + _test_eof410: + cs = 410 + goto _test_eof + _test_eof411: + cs = 411 + goto _test_eof + _test_eof412: + cs = 412 + goto _test_eof + _test_eof413: + cs = 413 + goto _test_eof + _test_eof414: + cs = 414 + goto _test_eof + _test_eof415: + cs = 415 + goto _test_eof + _test_eof416: + cs = 416 + goto _test_eof + _test_eof417: + cs = 417 + goto _test_eof + _test_eof418: + cs = 418 + goto _test_eof + _test_eof419: + cs = 419 + goto _test_eof + _test_eof420: + cs = 420 + goto _test_eof + _test_eof421: + cs = 421 + goto _test_eof + _test_eof422: + cs = 422 + goto _test_eof + _test_eof423: + cs = 423 + goto _test_eof + _test_eof424: + cs = 424 + goto _test_eof + _test_eof425: + cs = 425 + goto _test_eof + _test_eof426: + cs = 426 + goto _test_eof + _test_eof427: + cs = 427 + goto _test_eof + _test_eof428: + cs = 428 + goto _test_eof + _test_eof429: + cs = 429 + goto _test_eof + _test_eof430: + cs = 430 + goto _test_eof + _test_eof431: + cs = 431 + goto _test_eof + _test_eof432: + cs = 432 + goto _test_eof + _test_eof433: + cs = 433 + goto _test_eof + _test_eof434: + cs = 434 + goto _test_eof + _test_eof435: + cs = 435 + goto _test_eof + _test_eof436: + cs = 436 + goto _test_eof + _test_eof437: + cs = 437 + goto _test_eof + _test_eof438: + cs = 438 + goto _test_eof + _test_eof439: + cs = 439 + goto _test_eof + _test_eof440: + cs = 440 + goto _test_eof + _test_eof441: + cs = 441 + goto _test_eof + _test_eof442: + cs = 442 + goto _test_eof + _test_eof443: + cs = 443 + goto _test_eof + _test_eof444: + cs = 444 + goto _test_eof + _test_eof445: + cs = 445 + goto _test_eof + _test_eof446: + cs = 446 + goto _test_eof + _test_eof447: + cs = 447 + goto _test_eof + _test_eof448: + cs = 448 + goto _test_eof + _test_eof449: + cs = 449 + goto _test_eof + _test_eof450: + cs = 450 + goto _test_eof + _test_eof451: + cs = 451 + goto _test_eof + _test_eof452: + cs = 452 + goto _test_eof + _test_eof453: + cs = 453 + goto _test_eof + _test_eof454: + cs = 454 + goto _test_eof + _test_eof455: + cs = 455 + goto _test_eof + _test_eof456: + cs = 456 + goto _test_eof + _test_eof457: + cs = 457 + goto _test_eof + _test_eof458: + cs = 458 + goto _test_eof + _test_eof459: + cs = 459 + goto _test_eof + _test_eof460: + cs = 460 + goto _test_eof + _test_eof461: + cs = 461 + goto _test_eof + _test_eof462: + cs = 462 + goto _test_eof + _test_eof463: + cs = 463 + goto _test_eof + _test_eof464: + cs = 464 + goto _test_eof + _test_eof465: + cs = 465 + goto _test_eof + _test_eof466: + cs = 466 + goto _test_eof + _test_eof467: + cs = 467 + goto _test_eof + _test_eof468: + cs = 468 + goto _test_eof + _test_eof469: + cs = 469 + goto _test_eof + _test_eof470: + cs = 470 + goto _test_eof + _test_eof471: + cs = 471 + goto _test_eof + _test_eof472: + cs = 472 + goto _test_eof + _test_eof473: + cs = 473 + goto _test_eof + _test_eof474: + cs = 474 + goto _test_eof + _test_eof475: + cs = 475 + goto _test_eof + _test_eof476: + cs = 476 + goto _test_eof + _test_eof477: + cs = 477 + goto _test_eof + _test_eof478: + cs = 478 + goto _test_eof + _test_eof479: + cs = 479 + goto _test_eof + _test_eof480: + cs = 480 + goto _test_eof + _test_eof481: + cs = 481 + goto _test_eof + _test_eof482: + cs = 482 + goto _test_eof + _test_eof483: + cs = 483 + goto _test_eof + _test_eof484: + cs = 484 + goto _test_eof + _test_eof485: + cs = 485 + goto _test_eof + _test_eof486: + cs = 486 + goto _test_eof + _test_eof487: + cs = 487 + goto _test_eof + _test_eof488: + cs = 488 + goto _test_eof + _test_eof489: + cs = 489 + goto _test_eof + _test_eof490: + cs = 490 + goto _test_eof + _test_eof491: + cs = 491 + goto _test_eof + _test_eof492: + cs = 492 + goto _test_eof + _test_eof493: + cs = 493 + goto _test_eof + _test_eof494: + cs = 494 + goto _test_eof + _test_eof495: + cs = 495 + goto _test_eof + _test_eof496: + cs = 496 + goto _test_eof + _test_eof497: + cs = 497 + goto _test_eof + _test_eof498: + cs = 498 + goto _test_eof + _test_eof499: + cs = 499 + goto _test_eof + _test_eof500: + cs = 500 + goto _test_eof + _test_eof501: + cs = 501 + goto _test_eof + _test_eof502: + cs = 502 + goto _test_eof + _test_eof503: + cs = 503 + goto _test_eof + _test_eof504: + cs = 504 + goto _test_eof + _test_eof505: + cs = 505 + goto _test_eof + _test_eof506: + cs = 506 + goto _test_eof + _test_eof507: + cs = 507 + goto _test_eof + _test_eof508: + cs = 508 + goto _test_eof + _test_eof509: + cs = 509 + goto _test_eof + _test_eof510: + cs = 510 + goto _test_eof + _test_eof511: + cs = 511 + goto _test_eof + _test_eof512: + cs = 512 + goto _test_eof + _test_eof513: + cs = 513 + goto _test_eof + _test_eof514: + cs = 514 + goto _test_eof + _test_eof515: + cs = 515 + goto _test_eof + _test_eof516: + cs = 516 + goto _test_eof + _test_eof517: + cs = 517 + goto _test_eof + _test_eof518: + cs = 518 + goto _test_eof + _test_eof519: + cs = 519 + goto _test_eof + _test_eof520: + cs = 520 + goto _test_eof + _test_eof521: + cs = 521 + goto _test_eof + _test_eof522: + cs = 522 + goto _test_eof + _test_eof523: + cs = 523 + goto _test_eof + _test_eof524: + cs = 524 + goto _test_eof + _test_eof525: + cs = 525 + goto _test_eof + _test_eof526: + cs = 526 + goto _test_eof + _test_eof527: + cs = 527 + goto _test_eof + _test_eof528: + cs = 528 + goto _test_eof + _test_eof529: + cs = 529 + goto _test_eof + _test_eof530: + cs = 530 + goto _test_eof + _test_eof531: + cs = 531 + goto _test_eof + _test_eof532: + cs = 532 + goto _test_eof + _test_eof533: + cs = 533 + goto _test_eof + _test_eof534: + cs = 534 + goto _test_eof + _test_eof535: + cs = 535 + goto _test_eof + _test_eof536: + cs = 536 + goto _test_eof + _test_eof537: + cs = 537 + goto _test_eof + _test_eof538: + cs = 538 + goto _test_eof + _test_eof539: + cs = 539 + goto _test_eof + _test_eof540: + cs = 540 + goto _test_eof + _test_eof541: + cs = 541 + goto _test_eof + _test_eof542: + cs = 542 + goto _test_eof + _test_eof543: + cs = 543 + goto _test_eof + _test_eof544: + cs = 544 + goto _test_eof + _test_eof545: + cs = 545 + goto _test_eof + _test_eof546: + cs = 546 + goto _test_eof + _test_eof547: + cs = 547 + goto _test_eof + _test_eof548: + cs = 548 + goto _test_eof + _test_eof549: + cs = 549 + goto _test_eof + _test_eof550: + cs = 550 + goto _test_eof + _test_eof551: + cs = 551 + goto _test_eof + _test_eof552: + cs = 552 + goto _test_eof + _test_eof553: + cs = 553 + goto _test_eof + _test_eof554: + cs = 554 + goto _test_eof + _test_eof555: + cs = 555 + goto _test_eof + _test_eof556: + cs = 556 + goto _test_eof + _test_eof557: + cs = 557 + goto _test_eof + _test_eof558: + cs = 558 + goto _test_eof + _test_eof559: + cs = 559 + goto _test_eof + _test_eof560: + cs = 560 + goto _test_eof + _test_eof561: + cs = 561 + goto _test_eof + _test_eof562: + cs = 562 + goto _test_eof + _test_eof563: + cs = 563 + goto _test_eof + _test_eof564: + cs = 564 + goto _test_eof + _test_eof565: + cs = 565 + goto _test_eof + _test_eof566: + cs = 566 + goto _test_eof + _test_eof567: + cs = 567 + goto _test_eof + _test_eof568: + cs = 568 + goto _test_eof + _test_eof569: + cs = 569 + goto _test_eof + _test_eof570: + cs = 570 + goto _test_eof + _test_eof571: + cs = 571 + goto _test_eof + _test_eof572: + cs = 572 + goto _test_eof + _test_eof573: + cs = 573 + goto _test_eof + _test_eof574: + cs = 574 + goto _test_eof + _test_eof575: + cs = 575 + goto _test_eof + _test_eof576: + cs = 576 + goto _test_eof + _test_eof577: + cs = 577 + goto _test_eof + _test_eof578: + cs = 578 + goto _test_eof + _test_eof579: + cs = 579 + goto _test_eof + _test_eof580: + cs = 580 + goto _test_eof + _test_eof581: + cs = 581 + goto _test_eof + _test_eof582: + cs = 582 + goto _test_eof + _test_eof583: + cs = 583 + goto _test_eof + _test_eof584: + cs = 584 + goto _test_eof + _test_eof585: + cs = 585 + goto _test_eof + _test_eof586: + cs = 586 + goto _test_eof + _test_eof587: + cs = 587 + goto _test_eof + _test_eof588: + cs = 588 + goto _test_eof + _test_eof590: + cs = 590 + goto _test_eof + _test_eof51: + cs = 51 + goto _test_eof + _test_eof52: + cs = 52 + goto _test_eof + _test_eof53: + cs = 53 + goto _test_eof + _test_eof54: + cs = 54 + goto _test_eof + _test_eof55: + cs = 55 + goto _test_eof + _test_eof56: + cs = 56 + goto _test_eof + _test_eof57: + cs = 57 + goto _test_eof + _test_eof58: + cs = 58 + goto _test_eof + + _test_eof: + { + } + if p == eof { + switch cs { + case 61: + + if t, e := time.Parse(RFC3339MICRO, string(data[pb:p])); e == nil { + sm.timestamp = &t + } + + case 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316: + + if s := string(data[pb:p]); s != "-" { + sm.hostname = &s + } + + case 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364: + + if s := string(data[pb:p]); s != "-" { + sm.appname = &s + } + + case 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492: + + if s := string(data[pb:p]); s != "-" { + sm.procID = &s + } + + case 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524: + + if s := string(data[pb:p]); s != "-" { + sm.msgID = &s + } + + case 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556: + + if sm.structuredData == nil { + sm.structuredData = &(map[string]map[string]string{}) + } + + id := string(data[pb:p]) + elements := *sm.structuredData + if _, ok := elements[id]; !ok { + elements[id] = map[string]string{} + } + + case 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588: + + // Assuming SD map already exists, contains currentid key (set from outside) + elements := *sm.structuredData + elements[currentid][string(data[pb:p])] = "" + + case 590: + + // Store text + text := data[pb:p] + // Strip backslashes only when there are ... + if len(backslashes) > 0 { + text = common.RemoveBytes(text, backslashes, pb) + } + // Assuming SD map already exists, contains currentid key and currentparamname key (set from outside) + elements := *sm.structuredData + elements[currentid][currentparamname] = string(text) + + case 60: + + if s := string(data[pb:p]); s != "" { + sm.message = &s + } + + case 589: + + pb = p + + // Store text + text := data[pb:p] + // Strip backslashes only when there are ... + if len(backslashes) > 0 { + text = common.RemoveBytes(text, backslashes, pb) + } + // Assuming SD map already exists, contains currentid key and currentparamname key (set from outside) + elements := *sm.structuredData + elements[currentid][currentparamname] = string(text) + + case 59: + + pb = p + + if s := string(data[pb:p]); s != "" { + sm.message = &s + } + + } + } + + _out: + { + } + } + + return sm +} + +// SetPriority set the priority value and the computed facility and severity codes accordingly. +// +// It ignores incorrect priority values (range [0, 191]). +func (sm *SyslogMessage) SetPriority(value uint8) *SyslogMessage { + if value >= 0 && value <= 191 { + sm.setPriority(value) + } + + return sm +} + +// SetVersion set the version value. +// +// It ignores incorrect version values (range ]0, 999]). +func (sm *SyslogMessage) SetVersion(value uint16) *SyslogMessage { + if value > 0 && value <= 999 { + sm.version = value + } + + return sm +} + +// SetTimestamp set the timestamp value. +func (sm *SyslogMessage) SetTimestamp(value string) *SyslogMessage { + return sm.set(timestamp, value) +} + +// SetHostname set the hostname value. +func (sm *SyslogMessage) SetHostname(value string) *SyslogMessage { + return sm.set(hostname, value) +} + +// SetAppname set the appname value. +func (sm *SyslogMessage) SetAppname(value string) *SyslogMessage { + return sm.set(appname, value) +} + +// SetProcID set the procid value. +func (sm *SyslogMessage) SetProcID(value string) *SyslogMessage { + return sm.set(procid, value) +} + +// SetMsgID set the msgid value. +func (sm *SyslogMessage) SetMsgID(value string) *SyslogMessage { + return sm.set(msgid, value) +} + +// SetElementID set a structured data id. +// +// When the provided id already exists the operation is discarded. +func (sm *SyslogMessage) SetElementID(value string) *SyslogMessage { + return sm.set(sdid, value) +} + +// SetParameter set a structured data parameter belonging to the given element. +// +// If the element does not exist it creates one with the given element id. +// When a parameter with the given name already exists for the given element the operation is discarded. +func (sm *SyslogMessage) SetParameter(id string, name string, value string) *SyslogMessage { + // Create an element with the given id (or re-use the existing one) + sm.set(sdid, id) + + // We can create parameter iff the given element id exists + if sm.structuredData != nil { + elements := *sm.structuredData + if _, ok := elements[id]; ok { + currentid = id + sm.set(sdpn, name) + // We can assign parameter value iff the given parameter key exists + if _, ok := elements[id][name]; ok { + currentparamname = name + sm.set(sdpv, value) + } + } + } + + return sm +} + +// SetMessage set the message value. +func (sm *SyslogMessage) SetMessage(value string) *SyslogMessage { + return sm.set(msg, value) +} + +func (sm *SyslogMessage) String() (string, error) { + if !sm.Valid() { + return "", fmt.Errorf("invalid syslog") + } + + template := "<%d>%d %s %s %s %s %s %s%s" + + t := "-" + hn := "-" + an := "-" + pid := "-" + mid := "-" + sd := "-" + m := "" + if sm.timestamp != nil { + t = sm.timestamp.Format("2006-01-02T15:04:05.999999Z07:00") // verify 07:00 + } + if sm.hostname != nil { + hn = *sm.hostname + } + if sm.appname != nil { + an = *sm.appname + } + if sm.procID != nil { + pid = *sm.procID + } + if sm.msgID != nil { + mid = *sm.msgID + } + if sm.structuredData != nil { + // Sort element identifiers + identifiers := make([]string, 0) + for k := range *sm.structuredData { + identifiers = append(identifiers, k) + } + sort.Strings(identifiers) + + sd = "" + for _, id := range identifiers { + sd += fmt.Sprintf("[%s", id) + + // Sort parameter names + params := (*sm.structuredData)[id] + names := make([]string, 0) + for n := range params { + names = append(names, n) + } + sort.Strings(names) + + for _, name := range names { + sd += fmt.Sprintf(" %s=\"%s\"", name, common.EscapeBytes(params[name])) + } + sd += "]" + } + } + if sm.message != nil { + m = " " + *sm.message + } + + return fmt.Sprintf(template, *sm.priority, sm.version, t, hn, an, pid, mid, sd, m), nil +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/rfc5424/builder.go.rl b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/builder.go.rl new file mode 100644 index 000000000000..4284898d2885 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/builder.go.rl @@ -0,0 +1,312 @@ +package rfc5424 + +import ( + "time" + "sort" + "fmt" + + "github.com/influxdata/go-syslog/v2/common" +) + +%%{ +machine builder; + +include common "common.rl"; + +action mark { + pb = p +} + +action set_timestamp { + if t, e := time.Parse(RFC3339MICRO, string(data[pb:p])); e == nil { + sm.timestamp = &t + } +} + +action set_hostname { + if s := string(data[pb:p]); s != "-" { + sm.hostname = &s + } +} + +action set_appname { + if s := string(data[pb:p]); s != "-" { + sm.appname = &s + } +} + +action set_procid { + if s := string(data[pb:p]); s != "-" { + sm.procID = &s + } +} + +action set_msgid { + if s := string(data[pb:p]); s != "-" { + sm.msgID = &s + } +} + +action set_sdid { + if sm.structuredData == nil { + sm.structuredData = &(map[string]map[string]string{}) + } + + id := string(data[pb:p]) + elements := *sm.structuredData + if _, ok := elements[id]; !ok { + elements[id] = map[string]string{} + } +} + +action set_sdpn { + // Assuming SD map already exists, contains currentid key (set from outside) + elements := *sm.structuredData + elements[currentid][string(data[pb:p])] = "" +} + +action markslash { + backslashes = append(backslashes, p) +} + +action set_sdpv { + // Store text + text := data[pb:p] + // Strip backslashes only when there are ... + if len(backslashes) > 0 { + text = common.RemoveBytes(text, backslashes, pb) + } + // Assuming SD map already exists, contains currentid key and currentparamname key (set from outside) + elements := *sm.structuredData + elements[currentid][currentparamname] = string(text) +} + +action set_msg { + if s := string(data[pb:p]); s != "" { + sm.message = &s + } +} + +timestamp := (fulldate 'T' fulltime) >mark %set_timestamp; + +hostname := hostnamerange >mark %set_hostname; + +appname := appnamerange >mark %set_appname; + +procid := procidrange >mark %set_procid; + +msgid := msgidrange >mark %set_msgid; + +sdid := sdname >mark %set_sdid; + +sdpn := sdname >mark %set_sdpn; + +escapes = (bs >markslash toescape); + +sdpv := (utf8charwodelims* escapes*)+ >mark %set_sdpv; + +msg := (bom? utf8octets) >mark %set_msg; + +write data noerror nofinal; +}%% + +type entrypoint int + +const ( + timestamp entrypoint = iota + hostname + appname + procid + msgid + sdid + sdpn + sdpv + msg +) + +func (e entrypoint) translate() int { + switch e { + case timestamp: + return builder_en_timestamp + case hostname: + return builder_en_hostname + case appname: + return builder_en_appname + case procid: + return builder_en_procid + case msgid: + return builder_en_msgid + case sdid: + return builder_en_sdid + case sdpn: + return builder_en_sdpn + case sdpv: + return builder_en_sdpv + case msg: + return builder_en_msg + default: + return builder_start + } +} + +var currentid string +var currentparamname string + +func (sm *SyslogMessage) set(from entrypoint, value string) *SyslogMessage { + data := []byte(value) + p := 0 + pb := 0 + pe := len(data) + eof := len(data) + cs := from.translate() + backslashes := []int{} + %% write exec; + + return sm +} + +// SetPriority set the priority value and the computed facility and severity codes accordingly. +// +// It ignores incorrect priority values (range [0, 191]). +func (sm *SyslogMessage) SetPriority(value uint8) *SyslogMessage { + if value >= 0 && value <= 191 { + sm.setPriority(value) + } + + return sm +} + +// SetVersion set the version value. +// +// It ignores incorrect version values (range ]0, 999]). +func (sm *SyslogMessage) SetVersion(value uint16) *SyslogMessage { + if value > 0 && value <= 999 { + sm.version = value + } + + return sm +} + +// SetTimestamp set the timestamp value. +func (sm *SyslogMessage) SetTimestamp(value string) *SyslogMessage { + return sm.set(timestamp, value) +} + +// SetHostname set the hostname value. +func (sm *SyslogMessage) SetHostname(value string) *SyslogMessage { + return sm.set(hostname, value) +} + +// SetAppname set the appname value. +func (sm *SyslogMessage) SetAppname(value string) *SyslogMessage { + return sm.set(appname, value) +} + +// SetProcID set the procid value. +func (sm *SyslogMessage) SetProcID(value string) *SyslogMessage { + return sm.set(procid, value) +} + +// SetMsgID set the msgid value. +func (sm *SyslogMessage) SetMsgID(value string) *SyslogMessage { + return sm.set(msgid, value) +} + +// SetElementID set a structured data id. +// +// When the provided id already exists the operation is discarded. +func (sm *SyslogMessage) SetElementID(value string) *SyslogMessage { + return sm.set(sdid, value) +} + +// SetParameter set a structured data parameter belonging to the given element. +// +// If the element does not exist it creates one with the given element id. +// When a parameter with the given name already exists for the given element the operation is discarded. +func (sm *SyslogMessage) SetParameter(id string, name string, value string) *SyslogMessage { + // Create an element with the given id (or re-use the existing one) + sm.set(sdid, id) + + // We can create parameter iff the given element id exists + if sm.structuredData != nil { + elements := *sm.structuredData + if _, ok := elements[id]; ok { + currentid = id + sm.set(sdpn, name) + // We can assign parameter value iff the given parameter key exists + if _, ok := elements[id][name]; ok { + currentparamname = name + sm.set(sdpv, value) + } + } + } + + return sm +} + +// SetMessage set the message value. +func (sm *SyslogMessage) SetMessage(value string) *SyslogMessage { + return sm.set(msg, value) +} + +func (sm *SyslogMessage) String() (string, error) { + if !sm.Valid() { + return "", fmt.Errorf("invalid syslog") + } + + template := "<%d>%d %s %s %s %s %s %s%s" + + t := "-" + hn := "-" + an := "-" + pid := "-" + mid := "-" + sd := "-" + m := "" + if sm.timestamp != nil { + t = sm.timestamp.Format("2006-01-02T15:04:05.999999Z07:00") // verify 07:00 + } + if sm.hostname != nil { + hn = *sm.hostname + } + if sm.appname != nil { + an = *sm.appname + } + if sm.procID != nil { + pid = *sm.procID + } + if sm.msgID != nil { + mid = *sm.msgID + } + if sm.structuredData != nil { + // Sort element identifiers + identifiers := make([]string, 0) + for k, _ := range *sm.structuredData { + identifiers = append(identifiers, k) + } + sort.Strings(identifiers) + + sd = "" + for _, id := range identifiers { + sd += fmt.Sprintf("[%s", id) + + // Sort parameter names + params := (*sm.structuredData)[id] + names := make([]string, 0) + for n, _ := range params { + names = append(names, n) + } + sort.Strings(names) + + for _, name := range names { + sd += fmt.Sprintf(" %s=\"%s\"", name, common.EscapeBytes(params[name])) + } + sd += "]" + } + } + if sm.message != nil { + m = " " + *sm.message + } + + return fmt.Sprintf(template, *sm.priority, sm.version, t, hn, an, pid, mid, sd, m), nil +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/rfc5424/machine.go b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/machine.go new file mode 100644 index 000000000000..abd2bfcac3bd --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/machine.go @@ -0,0 +1,12011 @@ +package rfc5424 + +import ( + "fmt" + "time" + + "github.com/influxdata/go-syslog/v2" + "github.com/influxdata/go-syslog/v2/common" +) + +// ColumnPositionTemplate is the template used to communicate the column where errors occur. +var ColumnPositionTemplate = " [col %d]" + +const ( + // ErrPrival represents an error in the priority value (PRIVAL) inside the PRI part of the RFC5424 syslog message. + ErrPrival = "expecting a priority value in the range 1-191 or equal to 0" + // ErrPri represents an error in the PRI part of the RFC5424 syslog message. + ErrPri = "expecting a priority value within angle brackets" + // ErrVersion represents an error in the VERSION part of the RFC5424 syslog message. + ErrVersion = "expecting a version value in the range 1-999" + // ErrTimestamp represents an error in the TIMESTAMP part of the RFC5424 syslog message. + ErrTimestamp = "expecting a RFC3339MICRO timestamp or a nil value" + // ErrHostname represents an error in the HOSTNAME part of the RFC5424 syslog message. + ErrHostname = "expecting an hostname (from 1 to max 255 US-ASCII characters) or a nil value" + // ErrAppname represents an error in the APP-NAME part of the RFC5424 syslog message. + ErrAppname = "expecting an app-name (from 1 to max 48 US-ASCII characters) or a nil value" + // ErrProcID represents an error in the PROCID part of the RFC5424 syslog message. + ErrProcID = "expecting a procid (from 1 to max 128 US-ASCII characters) or a nil value" + // ErrMsgID represents an error in the MSGID part of the RFC5424 syslog message. + ErrMsgID = "expecting a msgid (from 1 to max 32 US-ASCII characters) or a nil value" + // ErrStructuredData represents an error in the STRUCTURED DATA part of the RFC5424 syslog message. + ErrStructuredData = "expecting a structured data section containing one or more elements (`[id( key=\"value\")*]+`) or a nil value" + // ErrSdID represents an error regarding the ID of a STRUCTURED DATA element of the RFC5424 syslog message. + ErrSdID = "expecting a structured data element id (from 1 to max 32 US-ASCII characters; except `=`, ` `, `]`, and `\"`" + // ErrSdIDDuplicated represents an error occurring when two STRUCTURED DATA elementes have the same ID in a RFC5424 syslog message. + ErrSdIDDuplicated = "duplicate structured data element id" + // ErrSdParam represents an error regarding a STRUCTURED DATA PARAM of the RFC5424 syslog message. + ErrSdParam = "expecting a structured data parameter (`key=\"value\"`, both part from 1 to max 32 US-ASCII characters; key cannot contain `=`, ` `, `]`, and `\"`, while value cannot contain `]`, backslash, and `\"` unless escaped)" + // ErrMsg represents an error in the MESSAGE part of the RFC5424 syslog message. + ErrMsg = "expecting a free-form optional message in UTF-8 (starting with or without BOM)" + // ErrEscape represents the error for a RFC5424 syslog message occurring when a STRUCTURED DATA PARAM value contains '"', '\', or ']' not escaped. + ErrEscape = "expecting chars `]`, `\"`, and `\\` to be escaped within param value" + // ErrParse represents a general parsing error for a RFC5424 syslog message. + ErrParse = "parsing error" +) + +// RFC3339MICRO represents the timestamp format that RFC5424 mandates. +const RFC3339MICRO = "2006-01-02T15:04:05.999999Z07:00" + +const start int = 1 +const firstFinal int = 603 + +const enFail int = 607 +const enMain int = 1 + +type machine struct { + data []byte + cs int + p, pe, eof int + pb int + err error + currentelem string + currentparam string + msgat int + backslashat []int + bestEffort bool +} + +// NewMachine creates a new FSM able to parse RFC5424 syslog messages. +func NewMachine(options ...syslog.MachineOption) syslog.Machine { + m := &machine{} + + for _, opt := range options { + opt(m) + } + + return m +} + +func (m *machine) WithBestEffort() { + m.bestEffort = true +} + +// HasBestEffort tells whether the receiving machine has best effort mode on or off. +func (m *machine) HasBestEffort() bool { + return m.bestEffort +} + +// Err returns the error that occurred on the last call to Parse. +// +// If the result is nil, then the line was parsed successfully. +func (m *machine) Err() error { + return m.err +} + +func (m *machine) text() []byte { + return m.data[m.pb:m.p] +} + +// Parse parses the input byte array as a RFC5424 syslog message. +// +// When a valid RFC5424 syslog message is given it outputs its structured representation. +// If the parsing detects an error it returns it with the position where the error occurred. +// +// It can also partially parse input messages returning a partially valid structured representation +// and the error that stopped the parsing. +func (m *machine) Parse(input []byte) (syslog.Message, error) { + m.data = input + m.p = 0 + m.pb = 0 + m.msgat = 0 + m.backslashat = []int{} + m.pe = len(input) + m.eof = len(input) + m.err = nil + output := &syslogMessage{} + + { + m.cs = start + } + + { + if (m.p) == (m.pe) { + goto _testEof + } + switch m.cs { + case 1: + goto stCase1 + case 0: + goto stCase0 + case 2: + goto stCase2 + case 3: + goto stCase3 + case 4: + goto stCase4 + case 5: + goto stCase5 + case 6: + goto stCase6 + case 7: + goto stCase7 + case 8: + goto stCase8 + case 9: + goto stCase9 + case 10: + goto stCase10 + case 11: + goto stCase11 + case 12: + goto stCase12 + case 13: + goto stCase13 + case 14: + goto stCase14 + case 15: + goto stCase15 + case 16: + goto stCase16 + case 603: + goto stCase603 + case 604: + goto stCase604 + case 605: + goto stCase605 + case 17: + goto stCase17 + case 18: + goto stCase18 + case 19: + goto stCase19 + case 20: + goto stCase20 + case 21: + goto stCase21 + case 22: + goto stCase22 + case 23: + goto stCase23 + case 24: + goto stCase24 + case 25: + goto stCase25 + case 26: + goto stCase26 + case 27: + goto stCase27 + case 28: + goto stCase28 + case 29: + goto stCase29 + case 30: + goto stCase30 + case 31: + goto stCase31 + case 32: + goto stCase32 + case 33: + goto stCase33 + case 34: + goto stCase34 + case 35: + goto stCase35 + case 36: + goto stCase36 + case 37: + goto stCase37 + case 38: + goto stCase38 + case 39: + goto stCase39 + case 40: + goto stCase40 + case 41: + goto stCase41 + case 42: + goto stCase42 + case 43: + goto stCase43 + case 44: + goto stCase44 + case 45: + goto stCase45 + case 46: + goto stCase46 + case 47: + goto stCase47 + case 48: + goto stCase48 + case 49: + goto stCase49 + case 50: + goto stCase50 + case 51: + goto stCase51 + case 52: + goto stCase52 + case 53: + goto stCase53 + case 54: + goto stCase54 + case 55: + goto stCase55 + case 56: + goto stCase56 + case 57: + goto stCase57 + case 58: + goto stCase58 + case 59: + goto stCase59 + case 60: + goto stCase60 + case 61: + goto stCase61 + case 62: + goto stCase62 + case 606: + goto stCase606 + case 63: + goto stCase63 + case 64: + goto stCase64 + case 65: + goto stCase65 + case 66: + goto stCase66 + case 67: + goto stCase67 + case 68: + goto stCase68 + case 69: + goto stCase69 + case 70: + goto stCase70 + case 71: + goto stCase71 + case 72: + goto stCase72 + case 73: + goto stCase73 + case 74: + goto stCase74 + case 75: + goto stCase75 + case 76: + goto stCase76 + case 77: + goto stCase77 + case 78: + goto stCase78 + case 79: + goto stCase79 + case 80: + goto stCase80 + case 81: + goto stCase81 + case 82: + goto stCase82 + case 83: + goto stCase83 + case 84: + goto stCase84 + case 85: + goto stCase85 + case 86: + goto stCase86 + case 87: + goto stCase87 + case 88: + goto stCase88 + case 89: + goto stCase89 + case 90: + goto stCase90 + case 91: + goto stCase91 + case 92: + goto stCase92 + case 93: + goto stCase93 + case 94: + goto stCase94 + case 95: + goto stCase95 + case 96: + goto stCase96 + case 97: + goto stCase97 + case 98: + goto stCase98 + case 99: + goto stCase99 + case 100: + goto stCase100 + case 101: + goto stCase101 + case 102: + goto stCase102 + case 103: + goto stCase103 + case 104: + goto stCase104 + case 105: + goto stCase105 + case 106: + goto stCase106 + case 107: + goto stCase107 + case 108: + goto stCase108 + case 109: + goto stCase109 + case 110: + goto stCase110 + case 111: + goto stCase111 + case 112: + goto stCase112 + case 113: + goto stCase113 + case 114: + goto stCase114 + case 115: + goto stCase115 + case 116: + goto stCase116 + case 117: + goto stCase117 + case 118: + goto stCase118 + case 119: + goto stCase119 + case 120: + goto stCase120 + case 121: + goto stCase121 + case 122: + goto stCase122 + case 123: + goto stCase123 + case 124: + goto stCase124 + case 125: + goto stCase125 + case 126: + goto stCase126 + case 127: + goto stCase127 + case 128: + goto stCase128 + case 129: + goto stCase129 + case 130: + goto stCase130 + case 131: + goto stCase131 + case 132: + goto stCase132 + case 133: + goto stCase133 + case 134: + goto stCase134 + case 135: + goto stCase135 + case 136: + goto stCase136 + case 137: + goto stCase137 + case 138: + goto stCase138 + case 139: + goto stCase139 + case 140: + goto stCase140 + case 141: + goto stCase141 + case 142: + goto stCase142 + case 143: + goto stCase143 + case 144: + goto stCase144 + case 145: + goto stCase145 + case 146: + goto stCase146 + case 147: + goto stCase147 + case 148: + goto stCase148 + case 149: + goto stCase149 + case 150: + goto stCase150 + case 151: + goto stCase151 + case 152: + goto stCase152 + case 153: + goto stCase153 + case 154: + goto stCase154 + case 155: + goto stCase155 + case 156: + goto stCase156 + case 157: + goto stCase157 + case 158: + goto stCase158 + case 159: + goto stCase159 + case 160: + goto stCase160 + case 161: + goto stCase161 + case 162: + goto stCase162 + case 163: + goto stCase163 + case 164: + goto stCase164 + case 165: + goto stCase165 + case 166: + goto stCase166 + case 167: + goto stCase167 + case 168: + goto stCase168 + case 169: + goto stCase169 + case 170: + goto stCase170 + case 171: + goto stCase171 + case 172: + goto stCase172 + case 173: + goto stCase173 + case 174: + goto stCase174 + case 175: + goto stCase175 + case 176: + goto stCase176 + case 177: + goto stCase177 + case 178: + goto stCase178 + case 179: + goto stCase179 + case 180: + goto stCase180 + case 181: + goto stCase181 + case 182: + goto stCase182 + case 183: + goto stCase183 + case 184: + goto stCase184 + case 185: + goto stCase185 + case 186: + goto stCase186 + case 187: + goto stCase187 + case 188: + goto stCase188 + case 189: + goto stCase189 + case 190: + goto stCase190 + case 191: + goto stCase191 + case 192: + goto stCase192 + case 193: + goto stCase193 + case 194: + goto stCase194 + case 195: + goto stCase195 + case 196: + goto stCase196 + case 197: + goto stCase197 + case 198: + goto stCase198 + case 199: + goto stCase199 + case 200: + goto stCase200 + case 201: + goto stCase201 + case 202: + goto stCase202 + case 203: + goto stCase203 + case 204: + goto stCase204 + case 205: + goto stCase205 + case 206: + goto stCase206 + case 207: + goto stCase207 + case 208: + goto stCase208 + case 209: + goto stCase209 + case 210: + goto stCase210 + case 211: + goto stCase211 + case 212: + goto stCase212 + case 213: + goto stCase213 + case 214: + goto stCase214 + case 215: + goto stCase215 + case 216: + goto stCase216 + case 217: + goto stCase217 + case 218: + goto stCase218 + case 219: + goto stCase219 + case 220: + goto stCase220 + case 221: + goto stCase221 + case 222: + goto stCase222 + case 223: + goto stCase223 + case 224: + goto stCase224 + case 225: + goto stCase225 + case 226: + goto stCase226 + case 227: + goto stCase227 + case 228: + goto stCase228 + case 229: + goto stCase229 + case 230: + goto stCase230 + case 231: + goto stCase231 + case 232: + goto stCase232 + case 233: + goto stCase233 + case 234: + goto stCase234 + case 235: + goto stCase235 + case 236: + goto stCase236 + case 237: + goto stCase237 + case 238: + goto stCase238 + case 239: + goto stCase239 + case 240: + goto stCase240 + case 241: + goto stCase241 + case 242: + goto stCase242 + case 243: + goto stCase243 + case 244: + goto stCase244 + case 245: + goto stCase245 + case 246: + goto stCase246 + case 247: + goto stCase247 + case 248: + goto stCase248 + case 249: + goto stCase249 + case 250: + goto stCase250 + case 251: + goto stCase251 + case 252: + goto stCase252 + case 253: + goto stCase253 + case 254: + goto stCase254 + case 255: + goto stCase255 + case 256: + goto stCase256 + case 257: + goto stCase257 + case 258: + goto stCase258 + case 259: + goto stCase259 + case 260: + goto stCase260 + case 261: + goto stCase261 + case 262: + goto stCase262 + case 263: + goto stCase263 + case 264: + goto stCase264 + case 265: + goto stCase265 + case 266: + goto stCase266 + case 267: + goto stCase267 + case 268: + goto stCase268 + case 269: + goto stCase269 + case 270: + goto stCase270 + case 271: + goto stCase271 + case 272: + goto stCase272 + case 273: + goto stCase273 + case 274: + goto stCase274 + case 275: + goto stCase275 + case 276: + goto stCase276 + case 277: + goto stCase277 + case 278: + goto stCase278 + case 279: + goto stCase279 + case 280: + goto stCase280 + case 281: + goto stCase281 + case 282: + goto stCase282 + case 283: + goto stCase283 + case 284: + goto stCase284 + case 285: + goto stCase285 + case 286: + goto stCase286 + case 287: + goto stCase287 + case 288: + goto stCase288 + case 289: + goto stCase289 + case 290: + goto stCase290 + case 291: + goto stCase291 + case 292: + goto stCase292 + case 293: + goto stCase293 + case 294: + goto stCase294 + case 295: + goto stCase295 + case 296: + goto stCase296 + case 297: + goto stCase297 + case 298: + goto stCase298 + case 299: + goto stCase299 + case 300: + goto stCase300 + case 301: + goto stCase301 + case 302: + goto stCase302 + case 303: + goto stCase303 + case 304: + goto stCase304 + case 305: + goto stCase305 + case 306: + goto stCase306 + case 307: + goto stCase307 + case 308: + goto stCase308 + case 309: + goto stCase309 + case 310: + goto stCase310 + case 311: + goto stCase311 + case 312: + goto stCase312 + case 313: + goto stCase313 + case 314: + goto stCase314 + case 315: + goto stCase315 + case 316: + goto stCase316 + case 317: + goto stCase317 + case 318: + goto stCase318 + case 319: + goto stCase319 + case 320: + goto stCase320 + case 321: + goto stCase321 + case 322: + goto stCase322 + case 323: + goto stCase323 + case 324: + goto stCase324 + case 325: + goto stCase325 + case 326: + goto stCase326 + case 327: + goto stCase327 + case 328: + goto stCase328 + case 329: + goto stCase329 + case 330: + goto stCase330 + case 331: + goto stCase331 + case 332: + goto stCase332 + case 333: + goto stCase333 + case 334: + goto stCase334 + case 335: + goto stCase335 + case 336: + goto stCase336 + case 337: + goto stCase337 + case 338: + goto stCase338 + case 339: + goto stCase339 + case 340: + goto stCase340 + case 341: + goto stCase341 + case 342: + goto stCase342 + case 343: + goto stCase343 + case 344: + goto stCase344 + case 345: + goto stCase345 + case 346: + goto stCase346 + case 347: + goto stCase347 + case 348: + goto stCase348 + case 349: + goto stCase349 + case 350: + goto stCase350 + case 351: + goto stCase351 + case 352: + goto stCase352 + case 353: + goto stCase353 + case 354: + goto stCase354 + case 355: + goto stCase355 + case 356: + goto stCase356 + case 357: + goto stCase357 + case 358: + goto stCase358 + case 359: + goto stCase359 + case 360: + goto stCase360 + case 361: + goto stCase361 + case 362: + goto stCase362 + case 363: + goto stCase363 + case 364: + goto stCase364 + case 365: + goto stCase365 + case 366: + goto stCase366 + case 367: + goto stCase367 + case 368: + goto stCase368 + case 369: + goto stCase369 + case 370: + goto stCase370 + case 371: + goto stCase371 + case 372: + goto stCase372 + case 373: + goto stCase373 + case 374: + goto stCase374 + case 375: + goto stCase375 + case 376: + goto stCase376 + case 377: + goto stCase377 + case 378: + goto stCase378 + case 379: + goto stCase379 + case 380: + goto stCase380 + case 381: + goto stCase381 + case 382: + goto stCase382 + case 383: + goto stCase383 + case 384: + goto stCase384 + case 385: + goto stCase385 + case 386: + goto stCase386 + case 387: + goto stCase387 + case 388: + goto stCase388 + case 389: + goto stCase389 + case 390: + goto stCase390 + case 391: + goto stCase391 + case 392: + goto stCase392 + case 393: + goto stCase393 + case 394: + goto stCase394 + case 395: + goto stCase395 + case 396: + goto stCase396 + case 397: + goto stCase397 + case 398: + goto stCase398 + case 399: + goto stCase399 + case 400: + goto stCase400 + case 401: + goto stCase401 + case 402: + goto stCase402 + case 403: + goto stCase403 + case 404: + goto stCase404 + case 405: + goto stCase405 + case 406: + goto stCase406 + case 407: + goto stCase407 + case 408: + goto stCase408 + case 409: + goto stCase409 + case 410: + goto stCase410 + case 411: + goto stCase411 + case 412: + goto stCase412 + case 413: + goto stCase413 + case 414: + goto stCase414 + case 415: + goto stCase415 + case 416: + goto stCase416 + case 417: + goto stCase417 + case 418: + goto stCase418 + case 419: + goto stCase419 + case 420: + goto stCase420 + case 421: + goto stCase421 + case 422: + goto stCase422 + case 423: + goto stCase423 + case 424: + goto stCase424 + case 425: + goto stCase425 + case 426: + goto stCase426 + case 427: + goto stCase427 + case 428: + goto stCase428 + case 429: + goto stCase429 + case 430: + goto stCase430 + case 431: + goto stCase431 + case 432: + goto stCase432 + case 433: + goto stCase433 + case 434: + goto stCase434 + case 435: + goto stCase435 + case 436: + goto stCase436 + case 437: + goto stCase437 + case 438: + goto stCase438 + case 439: + goto stCase439 + case 440: + goto stCase440 + case 441: + goto stCase441 + case 442: + goto stCase442 + case 443: + goto stCase443 + case 444: + goto stCase444 + case 445: + goto stCase445 + case 446: + goto stCase446 + case 447: + goto stCase447 + case 448: + goto stCase448 + case 449: + goto stCase449 + case 450: + goto stCase450 + case 451: + goto stCase451 + case 452: + goto stCase452 + case 453: + goto stCase453 + case 454: + goto stCase454 + case 455: + goto stCase455 + case 456: + goto stCase456 + case 457: + goto stCase457 + case 458: + goto stCase458 + case 459: + goto stCase459 + case 460: + goto stCase460 + case 461: + goto stCase461 + case 462: + goto stCase462 + case 463: + goto stCase463 + case 464: + goto stCase464 + case 465: + goto stCase465 + case 466: + goto stCase466 + case 467: + goto stCase467 + case 468: + goto stCase468 + case 469: + goto stCase469 + case 470: + goto stCase470 + case 471: + goto stCase471 + case 472: + goto stCase472 + case 473: + goto stCase473 + case 474: + goto stCase474 + case 475: + goto stCase475 + case 476: + goto stCase476 + case 477: + goto stCase477 + case 478: + goto stCase478 + case 479: + goto stCase479 + case 480: + goto stCase480 + case 481: + goto stCase481 + case 482: + goto stCase482 + case 483: + goto stCase483 + case 484: + goto stCase484 + case 485: + goto stCase485 + case 486: + goto stCase486 + case 487: + goto stCase487 + case 488: + goto stCase488 + case 489: + goto stCase489 + case 490: + goto stCase490 + case 491: + goto stCase491 + case 492: + goto stCase492 + case 493: + goto stCase493 + case 494: + goto stCase494 + case 495: + goto stCase495 + case 496: + goto stCase496 + case 497: + goto stCase497 + case 498: + goto stCase498 + case 499: + goto stCase499 + case 500: + goto stCase500 + case 501: + goto stCase501 + case 502: + goto stCase502 + case 503: + goto stCase503 + case 504: + goto stCase504 + case 505: + goto stCase505 + case 506: + goto stCase506 + case 507: + goto stCase507 + case 508: + goto stCase508 + case 509: + goto stCase509 + case 510: + goto stCase510 + case 511: + goto stCase511 + case 512: + goto stCase512 + case 513: + goto stCase513 + case 514: + goto stCase514 + case 515: + goto stCase515 + case 516: + goto stCase516 + case 517: + goto stCase517 + case 518: + goto stCase518 + case 519: + goto stCase519 + case 520: + goto stCase520 + case 521: + goto stCase521 + case 522: + goto stCase522 + case 523: + goto stCase523 + case 524: + goto stCase524 + case 525: + goto stCase525 + case 526: + goto stCase526 + case 527: + goto stCase527 + case 528: + goto stCase528 + case 529: + goto stCase529 + case 530: + goto stCase530 + case 531: + goto stCase531 + case 532: + goto stCase532 + case 533: + goto stCase533 + case 534: + goto stCase534 + case 535: + goto stCase535 + case 536: + goto stCase536 + case 537: + goto stCase537 + case 538: + goto stCase538 + case 539: + goto stCase539 + case 540: + goto stCase540 + case 541: + goto stCase541 + case 542: + goto stCase542 + case 543: + goto stCase543 + case 544: + goto stCase544 + case 545: + goto stCase545 + case 546: + goto stCase546 + case 547: + goto stCase547 + case 548: + goto stCase548 + case 549: + goto stCase549 + case 550: + goto stCase550 + case 551: + goto stCase551 + case 552: + goto stCase552 + case 553: + goto stCase553 + case 554: + goto stCase554 + case 555: + goto stCase555 + case 556: + goto stCase556 + case 557: + goto stCase557 + case 558: + goto stCase558 + case 559: + goto stCase559 + case 560: + goto stCase560 + case 561: + goto stCase561 + case 562: + goto stCase562 + case 563: + goto stCase563 + case 564: + goto stCase564 + case 565: + goto stCase565 + case 566: + goto stCase566 + case 567: + goto stCase567 + case 568: + goto stCase568 + case 569: + goto stCase569 + case 570: + goto stCase570 + case 571: + goto stCase571 + case 572: + goto stCase572 + case 573: + goto stCase573 + case 574: + goto stCase574 + case 575: + goto stCase575 + case 576: + goto stCase576 + case 577: + goto stCase577 + case 578: + goto stCase578 + case 579: + goto stCase579 + case 580: + goto stCase580 + case 581: + goto stCase581 + case 582: + goto stCase582 + case 583: + goto stCase583 + case 584: + goto stCase584 + case 585: + goto stCase585 + case 586: + goto stCase586 + case 587: + goto stCase587 + case 588: + goto stCase588 + case 589: + goto stCase589 + case 590: + goto stCase590 + case 591: + goto stCase591 + case 592: + goto stCase592 + case 593: + goto stCase593 + case 594: + goto stCase594 + case 595: + goto stCase595 + case 596: + goto stCase596 + case 597: + goto stCase597 + case 598: + goto stCase598 + case 599: + goto stCase599 + case 600: + goto stCase600 + case 601: + goto stCase601 + case 602: + goto stCase602 + case 607: + goto stCase607 + } + goto stOut + stCase1: + if (m.data)[(m.p)] == 60 { + goto st2 + } + goto tr0 + tr0: + + m.err = fmt.Errorf(ErrPri+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr2: + + m.err = fmt.Errorf(ErrPrival+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrPri+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr7: + + m.err = fmt.Errorf(ErrVersion+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr9: + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr12: + + m.err = fmt.Errorf(ErrTimestamp+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr16: + + m.err = fmt.Errorf(ErrHostname+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr20: + + m.err = fmt.Errorf(ErrAppname+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr24: + + m.err = fmt.Errorf(ErrProcID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr28: + + m.err = fmt.Errorf(ErrMsgID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr30: + + m.err = fmt.Errorf(ErrMsgID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr33: + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr36: + + // If error encountered within the message rule ... + if m.msgat > 0 { + // Save the text until valid (m.p is where the parser has stopped) + output.message = string(m.data[m.msgat:m.p]) + } + + m.err = fmt.Errorf(ErrMsg+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr40: + + delete(output.structuredData, m.currentelem) + if len(output.structuredData) == 0 { + output.hasElements = false + } + m.err = fmt.Errorf(ErrSdID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr42: + + if _, ok := output.structuredData[string(m.text())]; ok { + // As per RFC5424 section 6.3.2 SD-ID MUST NOT exist more than once in a message + m.err = fmt.Errorf(ErrSdIDDuplicated+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + } else { + id := string(m.text()) + output.structuredData[id] = map[string]string{} + output.hasElements = true + m.currentelem = id + } + + delete(output.structuredData, m.currentelem) + if len(output.structuredData) == 0 { + output.hasElements = false + } + m.err = fmt.Errorf(ErrSdID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr46: + + if len(output.structuredData) > 0 { + delete(output.structuredData[m.currentelem], m.currentparam) + } + m.err = fmt.Errorf(ErrSdParam+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr84: + + m.err = fmt.Errorf(ErrEscape+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + if len(output.structuredData) > 0 { + delete(output.structuredData[m.currentelem], m.currentparam) + } + m.err = fmt.Errorf(ErrSdParam+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr619: + + if t, e := time.Parse(RFC3339MICRO, string(m.text())); e != nil { + m.err = fmt.Errorf("%s [col %d]", e, m.p) + (m.p)-- + + { + goto st607 + } + } else { + output.timestamp = t + output.timestampSet = true + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + tr645: + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + goto st0 + stCase0: + st0: + m.cs = 0 + goto _out + st2: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof2 + } + stCase2: + switch (m.data)[(m.p)] { + case 48: + goto tr3 + case 49: + goto tr4 + } + if 50 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto tr5 + } + goto tr2 + tr3: + + m.pb = m.p + + goto st3 + st3: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof3 + } + stCase3: + + output.priority = uint8(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + output.prioritySet = true + + if (m.data)[(m.p)] == 62 { + goto st4 + } + goto tr2 + st4: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof4 + } + stCase4: + if 49 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto tr8 + } + goto tr7 + tr8: + + m.pb = m.p + + goto st5 + st5: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof5 + } + stCase5: + + output.version = uint16(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + + if (m.data)[(m.p)] == 32 { + goto st6 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st598 + } + goto tr9 + st6: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof6 + } + stCase6: + if (m.data)[(m.p)] == 45 { + goto st7 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto tr14 + } + goto tr12 + st7: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof7 + } + stCase7: + if (m.data)[(m.p)] == 32 { + goto st8 + } + goto tr9 + tr620: + + if t, e := time.Parse(RFC3339MICRO, string(m.text())); e != nil { + m.err = fmt.Errorf("%s [col %d]", e, m.p) + (m.p)-- + + { + goto st607 + } + } else { + output.timestamp = t + output.timestampSet = true + } + + goto st8 + st8: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof8 + } + stCase8: + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto tr17 + } + goto tr16 + tr17: + + m.pb = m.p + + goto st9 + st9: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof9 + } + stCase9: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st307 + } + goto tr16 + tr18: + + output.hostname = string(m.text()) + + goto st10 + st10: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof10 + } + stCase10: + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto tr21 + } + goto tr20 + tr21: + + m.pb = m.p + + goto st11 + st11: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof11 + } + stCase11: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st260 + } + goto tr20 + tr22: + + output.appname = string(m.text()) + + goto st12 + st12: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof12 + } + stCase12: + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto tr25 + } + goto tr24 + tr25: + + m.pb = m.p + + goto st13 + st13: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof13 + } + stCase13: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st133 + } + goto tr24 + tr26: + + output.procID = string(m.text()) + + goto st14 + st14: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof14 + } + stCase14: + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto tr29 + } + goto tr28 + tr29: + + m.pb = m.p + + goto st15 + st15: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof15 + } + stCase15: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st102 + } + goto tr30 + tr31: + + output.msgID = string(m.text()) + + goto st16 + st16: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof16 + } + stCase16: + switch (m.data)[(m.p)] { + case 45: + goto st603 + case 91: + goto tr35 + } + goto tr33 + st603: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof603 + } + stCase603: + if (m.data)[(m.p)] == 32 { + goto st604 + } + goto tr9 + st604: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof604 + } + stCase604: + switch (m.data)[(m.p)] { + case 224: + goto tr634 + case 237: + goto tr636 + case 240: + goto tr637 + case 244: + goto tr639 + } + switch { + case (m.data)[(m.p)] < 225: + switch { + case (m.data)[(m.p)] > 193: + if 194 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 223 { + goto tr633 + } + case (m.data)[(m.p)] >= 128: + goto tr36 + } + case (m.data)[(m.p)] > 239: + switch { + case (m.data)[(m.p)] > 243: + if 245 <= (m.data)[(m.p)] { + goto tr36 + } + case (m.data)[(m.p)] >= 241: + goto tr638 + } + default: + goto tr635 + } + goto tr632 + tr632: + + m.pb = m.p + + m.msgat = m.p + + goto st605 + st605: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof605 + } + stCase605: + switch (m.data)[(m.p)] { + case 224: + goto st18 + case 237: + goto st20 + case 240: + goto st21 + case 244: + goto st23 + } + switch { + case (m.data)[(m.p)] < 225: + switch { + case (m.data)[(m.p)] > 193: + if 194 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 223 { + goto st17 + } + case (m.data)[(m.p)] >= 128: + goto tr36 + } + case (m.data)[(m.p)] > 239: + switch { + case (m.data)[(m.p)] > 243: + if 245 <= (m.data)[(m.p)] { + goto tr36 + } + case (m.data)[(m.p)] >= 241: + goto st22 + } + default: + goto st19 + } + goto st605 + tr633: + + m.pb = m.p + + m.msgat = m.p + + goto st17 + st17: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof17 + } + stCase17: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st605 + } + goto tr36 + tr634: + + m.pb = m.p + + m.msgat = m.p + + goto st18 + st18: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof18 + } + stCase18: + if 160 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st17 + } + goto tr36 + tr635: + + m.pb = m.p + + m.msgat = m.p + + goto st19 + st19: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof19 + } + stCase19: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st17 + } + goto tr36 + tr636: + + m.pb = m.p + + m.msgat = m.p + + goto st20 + st20: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof20 + } + stCase20: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 159 { + goto st17 + } + goto tr36 + tr637: + + m.pb = m.p + + m.msgat = m.p + + goto st21 + st21: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof21 + } + stCase21: + if 144 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st19 + } + goto tr36 + tr638: + + m.pb = m.p + + m.msgat = m.p + + goto st22 + st22: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof22 + } + stCase22: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st19 + } + goto tr36 + tr639: + + m.pb = m.p + + m.msgat = m.p + + goto st23 + st23: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof23 + } + stCase23: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 143 { + goto st19 + } + goto tr36 + tr35: + + output.structuredData = map[string]map[string]string{} + + goto st24 + st24: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof24 + } + stCase24: + if (m.data)[(m.p)] == 33 { + goto tr41 + } + switch { + case (m.data)[(m.p)] < 62: + if 35 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 60 { + goto tr41 + } + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto tr41 + } + default: + goto tr41 + } + goto tr40 + tr41: + + m.pb = m.p + + goto st25 + st25: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof25 + } + stCase25: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st71 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st71 + } + case (m.data)[(m.p)] >= 35: + goto st71 + } + goto tr42 + tr43: + + if _, ok := output.structuredData[string(m.text())]; ok { + // As per RFC5424 section 6.3.2 SD-ID MUST NOT exist more than once in a message + m.err = fmt.Errorf(ErrSdIDDuplicated+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + } else { + id := string(m.text()) + output.structuredData[id] = map[string]string{} + output.hasElements = true + m.currentelem = id + } + + goto st26 + st26: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof26 + } + stCase26: + if (m.data)[(m.p)] == 33 { + goto tr47 + } + switch { + case (m.data)[(m.p)] < 62: + if 35 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 60 { + goto tr47 + } + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto tr47 + } + default: + goto tr47 + } + goto tr46 + tr47: + + m.backslashat = []int{} + + m.pb = m.p + + goto st27 + st27: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof27 + } + stCase27: + switch (m.data)[(m.p)] { + case 33: + goto st28 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st28 + } + case (m.data)[(m.p)] >= 35: + goto st28 + } + goto tr46 + st28: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof28 + } + stCase28: + switch (m.data)[(m.p)] { + case 33: + goto st29 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st29 + } + case (m.data)[(m.p)] >= 35: + goto st29 + } + goto tr46 + st29: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof29 + } + stCase29: + switch (m.data)[(m.p)] { + case 33: + goto st30 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st30 + } + case (m.data)[(m.p)] >= 35: + goto st30 + } + goto tr46 + st30: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof30 + } + stCase30: + switch (m.data)[(m.p)] { + case 33: + goto st31 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st31 + } + case (m.data)[(m.p)] >= 35: + goto st31 + } + goto tr46 + st31: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof31 + } + stCase31: + switch (m.data)[(m.p)] { + case 33: + goto st32 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st32 + } + case (m.data)[(m.p)] >= 35: + goto st32 + } + goto tr46 + st32: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof32 + } + stCase32: + switch (m.data)[(m.p)] { + case 33: + goto st33 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st33 + } + case (m.data)[(m.p)] >= 35: + goto st33 + } + goto tr46 + st33: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof33 + } + stCase33: + switch (m.data)[(m.p)] { + case 33: + goto st34 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st34 + } + case (m.data)[(m.p)] >= 35: + goto st34 + } + goto tr46 + st34: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof34 + } + stCase34: + switch (m.data)[(m.p)] { + case 33: + goto st35 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st35 + } + case (m.data)[(m.p)] >= 35: + goto st35 + } + goto tr46 + st35: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof35 + } + stCase35: + switch (m.data)[(m.p)] { + case 33: + goto st36 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st36 + } + case (m.data)[(m.p)] >= 35: + goto st36 + } + goto tr46 + st36: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof36 + } + stCase36: + switch (m.data)[(m.p)] { + case 33: + goto st37 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st37 + } + case (m.data)[(m.p)] >= 35: + goto st37 + } + goto tr46 + st37: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof37 + } + stCase37: + switch (m.data)[(m.p)] { + case 33: + goto st38 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st38 + } + case (m.data)[(m.p)] >= 35: + goto st38 + } + goto tr46 + st38: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof38 + } + stCase38: + switch (m.data)[(m.p)] { + case 33: + goto st39 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st39 + } + case (m.data)[(m.p)] >= 35: + goto st39 + } + goto tr46 + st39: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof39 + } + stCase39: + switch (m.data)[(m.p)] { + case 33: + goto st40 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st40 + } + case (m.data)[(m.p)] >= 35: + goto st40 + } + goto tr46 + st40: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof40 + } + stCase40: + switch (m.data)[(m.p)] { + case 33: + goto st41 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st41 + } + case (m.data)[(m.p)] >= 35: + goto st41 + } + goto tr46 + st41: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof41 + } + stCase41: + switch (m.data)[(m.p)] { + case 33: + goto st42 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st42 + } + case (m.data)[(m.p)] >= 35: + goto st42 + } + goto tr46 + st42: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof42 + } + stCase42: + switch (m.data)[(m.p)] { + case 33: + goto st43 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st43 + } + case (m.data)[(m.p)] >= 35: + goto st43 + } + goto tr46 + st43: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof43 + } + stCase43: + switch (m.data)[(m.p)] { + case 33: + goto st44 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st44 + } + case (m.data)[(m.p)] >= 35: + goto st44 + } + goto tr46 + st44: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof44 + } + stCase44: + switch (m.data)[(m.p)] { + case 33: + goto st45 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st45 + } + case (m.data)[(m.p)] >= 35: + goto st45 + } + goto tr46 + st45: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof45 + } + stCase45: + switch (m.data)[(m.p)] { + case 33: + goto st46 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st46 + } + case (m.data)[(m.p)] >= 35: + goto st46 + } + goto tr46 + st46: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof46 + } + stCase46: + switch (m.data)[(m.p)] { + case 33: + goto st47 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st47 + } + case (m.data)[(m.p)] >= 35: + goto st47 + } + goto tr46 + st47: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof47 + } + stCase47: + switch (m.data)[(m.p)] { + case 33: + goto st48 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st48 + } + case (m.data)[(m.p)] >= 35: + goto st48 + } + goto tr46 + st48: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof48 + } + stCase48: + switch (m.data)[(m.p)] { + case 33: + goto st49 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st49 + } + case (m.data)[(m.p)] >= 35: + goto st49 + } + goto tr46 + st49: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof49 + } + stCase49: + switch (m.data)[(m.p)] { + case 33: + goto st50 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st50 + } + case (m.data)[(m.p)] >= 35: + goto st50 + } + goto tr46 + st50: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof50 + } + stCase50: + switch (m.data)[(m.p)] { + case 33: + goto st51 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st51 + } + case (m.data)[(m.p)] >= 35: + goto st51 + } + goto tr46 + st51: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof51 + } + stCase51: + switch (m.data)[(m.p)] { + case 33: + goto st52 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st52 + } + case (m.data)[(m.p)] >= 35: + goto st52 + } + goto tr46 + st52: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof52 + } + stCase52: + switch (m.data)[(m.p)] { + case 33: + goto st53 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st53 + } + case (m.data)[(m.p)] >= 35: + goto st53 + } + goto tr46 + st53: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof53 + } + stCase53: + switch (m.data)[(m.p)] { + case 33: + goto st54 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st54 + } + case (m.data)[(m.p)] >= 35: + goto st54 + } + goto tr46 + st54: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof54 + } + stCase54: + switch (m.data)[(m.p)] { + case 33: + goto st55 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st55 + } + case (m.data)[(m.p)] >= 35: + goto st55 + } + goto tr46 + st55: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof55 + } + stCase55: + switch (m.data)[(m.p)] { + case 33: + goto st56 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st56 + } + case (m.data)[(m.p)] >= 35: + goto st56 + } + goto tr46 + st56: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof56 + } + stCase56: + switch (m.data)[(m.p)] { + case 33: + goto st57 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st57 + } + case (m.data)[(m.p)] >= 35: + goto st57 + } + goto tr46 + st57: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof57 + } + stCase57: + switch (m.data)[(m.p)] { + case 33: + goto st58 + case 61: + goto tr49 + } + switch { + case (m.data)[(m.p)] > 92: + if 94 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st58 + } + case (m.data)[(m.p)] >= 35: + goto st58 + } + goto tr46 + st58: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof58 + } + stCase58: + if (m.data)[(m.p)] == 61 { + goto tr49 + } + goto tr46 + tr49: + + m.currentparam = string(m.text()) + + goto st59 + st59: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof59 + } + stCase59: + if (m.data)[(m.p)] == 34 { + goto st60 + } + goto tr46 + st60: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof60 + } + stCase60: + switch (m.data)[(m.p)] { + case 34: + goto tr82 + case 92: + goto tr83 + case 93: + goto tr84 + case 224: + goto tr86 + case 237: + goto tr88 + case 240: + goto tr89 + case 244: + goto tr91 + } + switch { + case (m.data)[(m.p)] < 225: + switch { + case (m.data)[(m.p)] > 193: + if 194 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 223 { + goto tr85 + } + case (m.data)[(m.p)] >= 128: + goto tr84 + } + case (m.data)[(m.p)] > 239: + switch { + case (m.data)[(m.p)] > 243: + if 245 <= (m.data)[(m.p)] { + goto tr84 + } + case (m.data)[(m.p)] >= 241: + goto tr90 + } + default: + goto tr87 + } + goto tr81 + tr81: + + m.pb = m.p + + goto st61 + st61: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof61 + } + stCase61: + switch (m.data)[(m.p)] { + case 34: + goto tr93 + case 92: + goto tr94 + case 93: + goto tr84 + case 224: + goto st65 + case 237: + goto st67 + case 240: + goto st68 + case 244: + goto st70 + } + switch { + case (m.data)[(m.p)] < 225: + switch { + case (m.data)[(m.p)] > 193: + if 194 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 223 { + goto st64 + } + case (m.data)[(m.p)] >= 128: + goto tr84 + } + case (m.data)[(m.p)] > 239: + switch { + case (m.data)[(m.p)] > 243: + if 245 <= (m.data)[(m.p)] { + goto tr84 + } + case (m.data)[(m.p)] >= 241: + goto st69 + } + default: + goto st66 + } + goto st61 + tr82: + + m.pb = m.p + + if output.hasElements { + // (fixme) > what if SD-PARAM-NAME already exist for the current element (ie., current SD-ID)? + + // Store text + text := m.text() + + // Strip backslashes only when there are ... + if len(m.backslashat) > 0 { + text = common.RemoveBytes(text, m.backslashat, m.pb) + } + output.structuredData[m.currentelem][m.currentparam] = string(text) + } + + goto st62 + tr93: + + if output.hasElements { + // (fixme) > what if SD-PARAM-NAME already exist for the current element (ie., current SD-ID)? + + // Store text + text := m.text() + + // Strip backslashes only when there are ... + if len(m.backslashat) > 0 { + text = common.RemoveBytes(text, m.backslashat, m.pb) + } + output.structuredData[m.currentelem][m.currentparam] = string(text) + } + + goto st62 + st62: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof62 + } + stCase62: + switch (m.data)[(m.p)] { + case 32: + goto st26 + case 93: + goto st606 + } + goto tr46 + tr45: + + if _, ok := output.structuredData[string(m.text())]; ok { + // As per RFC5424 section 6.3.2 SD-ID MUST NOT exist more than once in a message + m.err = fmt.Errorf(ErrSdIDDuplicated+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + } else { + id := string(m.text()) + output.structuredData[id] = map[string]string{} + output.hasElements = true + m.currentelem = id + } + + goto st606 + st606: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof606 + } + stCase606: + switch (m.data)[(m.p)] { + case 32: + goto st604 + case 91: + goto st24 + } + goto tr645 + tr83: + + m.pb = m.p + + m.backslashat = append(m.backslashat, m.p) + + goto st63 + tr94: + + m.backslashat = append(m.backslashat, m.p) + + goto st63 + st63: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof63 + } + stCase63: + if (m.data)[(m.p)] == 34 { + goto st61 + } + if 92 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 93 { + goto st61 + } + goto tr84 + tr85: + + m.pb = m.p + + goto st64 + st64: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof64 + } + stCase64: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st61 + } + goto tr46 + tr86: + + m.pb = m.p + + goto st65 + st65: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof65 + } + stCase65: + if 160 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st64 + } + goto tr46 + tr87: + + m.pb = m.p + + goto st66 + st66: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof66 + } + stCase66: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st64 + } + goto tr46 + tr88: + + m.pb = m.p + + goto st67 + st67: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof67 + } + stCase67: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 159 { + goto st64 + } + goto tr46 + tr89: + + m.pb = m.p + + goto st68 + st68: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof68 + } + stCase68: + if 144 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st66 + } + goto tr46 + tr90: + + m.pb = m.p + + goto st69 + st69: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof69 + } + stCase69: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 191 { + goto st66 + } + goto tr46 + tr91: + + m.pb = m.p + + goto st70 + st70: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof70 + } + stCase70: + if 128 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 143 { + goto st66 + } + goto tr46 + st71: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof71 + } + stCase71: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st72 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st72 + } + case (m.data)[(m.p)] >= 35: + goto st72 + } + goto tr42 + st72: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof72 + } + stCase72: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st73 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st73 + } + case (m.data)[(m.p)] >= 35: + goto st73 + } + goto tr42 + st73: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof73 + } + stCase73: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st74 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st74 + } + case (m.data)[(m.p)] >= 35: + goto st74 + } + goto tr42 + st74: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof74 + } + stCase74: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st75 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st75 + } + case (m.data)[(m.p)] >= 35: + goto st75 + } + goto tr42 + st75: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof75 + } + stCase75: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st76 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st76 + } + case (m.data)[(m.p)] >= 35: + goto st76 + } + goto tr42 + st76: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof76 + } + stCase76: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st77 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st77 + } + case (m.data)[(m.p)] >= 35: + goto st77 + } + goto tr42 + st77: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof77 + } + stCase77: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st78 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st78 + } + case (m.data)[(m.p)] >= 35: + goto st78 + } + goto tr42 + st78: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof78 + } + stCase78: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st79 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st79 + } + case (m.data)[(m.p)] >= 35: + goto st79 + } + goto tr42 + st79: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof79 + } + stCase79: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st80 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st80 + } + case (m.data)[(m.p)] >= 35: + goto st80 + } + goto tr42 + st80: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof80 + } + stCase80: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st81 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st81 + } + case (m.data)[(m.p)] >= 35: + goto st81 + } + goto tr42 + st81: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof81 + } + stCase81: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st82 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st82 + } + case (m.data)[(m.p)] >= 35: + goto st82 + } + goto tr42 + st82: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof82 + } + stCase82: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st83 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st83 + } + case (m.data)[(m.p)] >= 35: + goto st83 + } + goto tr42 + st83: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof83 + } + stCase83: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st84 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st84 + } + case (m.data)[(m.p)] >= 35: + goto st84 + } + goto tr42 + st84: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof84 + } + stCase84: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st85 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st85 + } + case (m.data)[(m.p)] >= 35: + goto st85 + } + goto tr42 + st85: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof85 + } + stCase85: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st86 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st86 + } + case (m.data)[(m.p)] >= 35: + goto st86 + } + goto tr42 + st86: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof86 + } + stCase86: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st87 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st87 + } + case (m.data)[(m.p)] >= 35: + goto st87 + } + goto tr42 + st87: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof87 + } + stCase87: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st88 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st88 + } + case (m.data)[(m.p)] >= 35: + goto st88 + } + goto tr42 + st88: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof88 + } + stCase88: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st89 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st89 + } + case (m.data)[(m.p)] >= 35: + goto st89 + } + goto tr42 + st89: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof89 + } + stCase89: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st90 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st90 + } + case (m.data)[(m.p)] >= 35: + goto st90 + } + goto tr42 + st90: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof90 + } + stCase90: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st91 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st91 + } + case (m.data)[(m.p)] >= 35: + goto st91 + } + goto tr42 + st91: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof91 + } + stCase91: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st92 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st92 + } + case (m.data)[(m.p)] >= 35: + goto st92 + } + goto tr42 + st92: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof92 + } + stCase92: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st93 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st93 + } + case (m.data)[(m.p)] >= 35: + goto st93 + } + goto tr42 + st93: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof93 + } + stCase93: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st94 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st94 + } + case (m.data)[(m.p)] >= 35: + goto st94 + } + goto tr42 + st94: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof94 + } + stCase94: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st95 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st95 + } + case (m.data)[(m.p)] >= 35: + goto st95 + } + goto tr42 + st95: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof95 + } + stCase95: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st96 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st96 + } + case (m.data)[(m.p)] >= 35: + goto st96 + } + goto tr42 + st96: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof96 + } + stCase96: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st97 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st97 + } + case (m.data)[(m.p)] >= 35: + goto st97 + } + goto tr42 + st97: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof97 + } + stCase97: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st98 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st98 + } + case (m.data)[(m.p)] >= 35: + goto st98 + } + goto tr42 + st98: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof98 + } + stCase98: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st99 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st99 + } + case (m.data)[(m.p)] >= 35: + goto st99 + } + goto tr42 + st99: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof99 + } + stCase99: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st100 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st100 + } + case (m.data)[(m.p)] >= 35: + goto st100 + } + goto tr42 + st100: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof100 + } + stCase100: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 33: + goto st101 + case 93: + goto tr45 + } + switch { + case (m.data)[(m.p)] > 60: + if 62 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st101 + } + case (m.data)[(m.p)] >= 35: + goto st101 + } + goto tr42 + st101: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof101 + } + stCase101: + switch (m.data)[(m.p)] { + case 32: + goto tr43 + case 93: + goto tr45 + } + goto tr42 + st102: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof102 + } + stCase102: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st103 + } + goto tr30 + st103: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof103 + } + stCase103: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st104 + } + goto tr30 + st104: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof104 + } + stCase104: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st105 + } + goto tr30 + st105: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof105 + } + stCase105: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st106 + } + goto tr30 + st106: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof106 + } + stCase106: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st107 + } + goto tr30 + st107: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof107 + } + stCase107: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st108 + } + goto tr30 + st108: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof108 + } + stCase108: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st109 + } + goto tr30 + st109: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof109 + } + stCase109: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st110 + } + goto tr30 + st110: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof110 + } + stCase110: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st111 + } + goto tr30 + st111: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof111 + } + stCase111: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st112 + } + goto tr30 + st112: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof112 + } + stCase112: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st113 + } + goto tr30 + st113: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof113 + } + stCase113: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st114 + } + goto tr30 + st114: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof114 + } + stCase114: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st115 + } + goto tr30 + st115: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof115 + } + stCase115: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st116 + } + goto tr30 + st116: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof116 + } + stCase116: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st117 + } + goto tr30 + st117: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof117 + } + stCase117: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st118 + } + goto tr30 + st118: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof118 + } + stCase118: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st119 + } + goto tr30 + st119: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof119 + } + stCase119: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st120 + } + goto tr30 + st120: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof120 + } + stCase120: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st121 + } + goto tr30 + st121: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof121 + } + stCase121: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st122 + } + goto tr30 + st122: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof122 + } + stCase122: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st123 + } + goto tr30 + st123: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof123 + } + stCase123: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st124 + } + goto tr30 + st124: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof124 + } + stCase124: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st125 + } + goto tr30 + st125: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof125 + } + stCase125: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st126 + } + goto tr30 + st126: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof126 + } + stCase126: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st127 + } + goto tr30 + st127: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof127 + } + stCase127: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st128 + } + goto tr30 + st128: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof128 + } + stCase128: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st129 + } + goto tr30 + st129: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof129 + } + stCase129: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st130 + } + goto tr30 + st130: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof130 + } + stCase130: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st131 + } + goto tr30 + st131: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof131 + } + stCase131: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st132 + } + goto tr30 + st132: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof132 + } + stCase132: + if (m.data)[(m.p)] == 32 { + goto tr31 + } + goto tr30 + st133: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof133 + } + stCase133: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st134 + } + goto tr24 + st134: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof134 + } + stCase134: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st135 + } + goto tr24 + st135: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof135 + } + stCase135: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st136 + } + goto tr24 + st136: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof136 + } + stCase136: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st137 + } + goto tr24 + st137: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof137 + } + stCase137: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st138 + } + goto tr24 + st138: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof138 + } + stCase138: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st139 + } + goto tr24 + st139: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof139 + } + stCase139: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st140 + } + goto tr24 + st140: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof140 + } + stCase140: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st141 + } + goto tr24 + st141: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof141 + } + stCase141: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st142 + } + goto tr24 + st142: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof142 + } + stCase142: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st143 + } + goto tr24 + st143: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof143 + } + stCase143: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st144 + } + goto tr24 + st144: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof144 + } + stCase144: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st145 + } + goto tr24 + st145: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof145 + } + stCase145: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st146 + } + goto tr24 + st146: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof146 + } + stCase146: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st147 + } + goto tr24 + st147: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof147 + } + stCase147: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st148 + } + goto tr24 + st148: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof148 + } + stCase148: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st149 + } + goto tr24 + st149: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof149 + } + stCase149: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st150 + } + goto tr24 + st150: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof150 + } + stCase150: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st151 + } + goto tr24 + st151: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof151 + } + stCase151: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st152 + } + goto tr24 + st152: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof152 + } + stCase152: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st153 + } + goto tr24 + st153: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof153 + } + stCase153: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st154 + } + goto tr24 + st154: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof154 + } + stCase154: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st155 + } + goto tr24 + st155: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof155 + } + stCase155: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st156 + } + goto tr24 + st156: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof156 + } + stCase156: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st157 + } + goto tr24 + st157: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof157 + } + stCase157: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st158 + } + goto tr24 + st158: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof158 + } + stCase158: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st159 + } + goto tr24 + st159: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof159 + } + stCase159: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st160 + } + goto tr24 + st160: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof160 + } + stCase160: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st161 + } + goto tr24 + st161: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof161 + } + stCase161: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st162 + } + goto tr24 + st162: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof162 + } + stCase162: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st163 + } + goto tr24 + st163: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof163 + } + stCase163: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st164 + } + goto tr24 + st164: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof164 + } + stCase164: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st165 + } + goto tr24 + st165: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof165 + } + stCase165: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st166 + } + goto tr24 + st166: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof166 + } + stCase166: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st167 + } + goto tr24 + st167: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof167 + } + stCase167: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st168 + } + goto tr24 + st168: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof168 + } + stCase168: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st169 + } + goto tr24 + st169: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof169 + } + stCase169: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st170 + } + goto tr24 + st170: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof170 + } + stCase170: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st171 + } + goto tr24 + st171: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof171 + } + stCase171: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st172 + } + goto tr24 + st172: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof172 + } + stCase172: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st173 + } + goto tr24 + st173: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof173 + } + stCase173: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st174 + } + goto tr24 + st174: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof174 + } + stCase174: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st175 + } + goto tr24 + st175: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof175 + } + stCase175: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st176 + } + goto tr24 + st176: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof176 + } + stCase176: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st177 + } + goto tr24 + st177: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof177 + } + stCase177: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st178 + } + goto tr24 + st178: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof178 + } + stCase178: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st179 + } + goto tr24 + st179: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof179 + } + stCase179: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st180 + } + goto tr24 + st180: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof180 + } + stCase180: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st181 + } + goto tr24 + st181: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof181 + } + stCase181: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st182 + } + goto tr24 + st182: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof182 + } + stCase182: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st183 + } + goto tr24 + st183: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof183 + } + stCase183: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st184 + } + goto tr24 + st184: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof184 + } + stCase184: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st185 + } + goto tr24 + st185: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof185 + } + stCase185: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st186 + } + goto tr24 + st186: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof186 + } + stCase186: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st187 + } + goto tr24 + st187: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof187 + } + stCase187: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st188 + } + goto tr24 + st188: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof188 + } + stCase188: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st189 + } + goto tr24 + st189: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof189 + } + stCase189: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st190 + } + goto tr24 + st190: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof190 + } + stCase190: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st191 + } + goto tr24 + st191: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof191 + } + stCase191: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st192 + } + goto tr24 + st192: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof192 + } + stCase192: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st193 + } + goto tr24 + st193: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof193 + } + stCase193: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st194 + } + goto tr24 + st194: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof194 + } + stCase194: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st195 + } + goto tr24 + st195: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof195 + } + stCase195: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st196 + } + goto tr24 + st196: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof196 + } + stCase196: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st197 + } + goto tr24 + st197: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof197 + } + stCase197: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st198 + } + goto tr24 + st198: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof198 + } + stCase198: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st199 + } + goto tr24 + st199: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof199 + } + stCase199: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st200 + } + goto tr24 + st200: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof200 + } + stCase200: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st201 + } + goto tr24 + st201: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof201 + } + stCase201: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st202 + } + goto tr24 + st202: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof202 + } + stCase202: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st203 + } + goto tr24 + st203: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof203 + } + stCase203: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st204 + } + goto tr24 + st204: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof204 + } + stCase204: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st205 + } + goto tr24 + st205: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof205 + } + stCase205: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st206 + } + goto tr24 + st206: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof206 + } + stCase206: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st207 + } + goto tr24 + st207: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof207 + } + stCase207: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st208 + } + goto tr24 + st208: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof208 + } + stCase208: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st209 + } + goto tr24 + st209: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof209 + } + stCase209: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st210 + } + goto tr24 + st210: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof210 + } + stCase210: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st211 + } + goto tr24 + st211: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof211 + } + stCase211: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st212 + } + goto tr24 + st212: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof212 + } + stCase212: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st213 + } + goto tr24 + st213: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof213 + } + stCase213: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st214 + } + goto tr24 + st214: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof214 + } + stCase214: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st215 + } + goto tr24 + st215: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof215 + } + stCase215: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st216 + } + goto tr24 + st216: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof216 + } + stCase216: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st217 + } + goto tr24 + st217: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof217 + } + stCase217: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st218 + } + goto tr24 + st218: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof218 + } + stCase218: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st219 + } + goto tr24 + st219: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof219 + } + stCase219: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st220 + } + goto tr24 + st220: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof220 + } + stCase220: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st221 + } + goto tr24 + st221: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof221 + } + stCase221: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st222 + } + goto tr24 + st222: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof222 + } + stCase222: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st223 + } + goto tr24 + st223: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof223 + } + stCase223: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st224 + } + goto tr24 + st224: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof224 + } + stCase224: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st225 + } + goto tr24 + st225: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof225 + } + stCase225: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st226 + } + goto tr24 + st226: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof226 + } + stCase226: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st227 + } + goto tr24 + st227: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof227 + } + stCase227: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st228 + } + goto tr24 + st228: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof228 + } + stCase228: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st229 + } + goto tr24 + st229: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof229 + } + stCase229: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st230 + } + goto tr24 + st230: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof230 + } + stCase230: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st231 + } + goto tr24 + st231: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof231 + } + stCase231: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st232 + } + goto tr24 + st232: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof232 + } + stCase232: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st233 + } + goto tr24 + st233: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof233 + } + stCase233: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st234 + } + goto tr24 + st234: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof234 + } + stCase234: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st235 + } + goto tr24 + st235: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof235 + } + stCase235: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st236 + } + goto tr24 + st236: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof236 + } + stCase236: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st237 + } + goto tr24 + st237: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof237 + } + stCase237: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st238 + } + goto tr24 + st238: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof238 + } + stCase238: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st239 + } + goto tr24 + st239: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof239 + } + stCase239: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st240 + } + goto tr24 + st240: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof240 + } + stCase240: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st241 + } + goto tr24 + st241: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof241 + } + stCase241: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st242 + } + goto tr24 + st242: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof242 + } + stCase242: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st243 + } + goto tr24 + st243: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof243 + } + stCase243: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st244 + } + goto tr24 + st244: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof244 + } + stCase244: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st245 + } + goto tr24 + st245: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof245 + } + stCase245: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st246 + } + goto tr24 + st246: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof246 + } + stCase246: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st247 + } + goto tr24 + st247: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof247 + } + stCase247: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st248 + } + goto tr24 + st248: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof248 + } + stCase248: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st249 + } + goto tr24 + st249: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof249 + } + stCase249: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st250 + } + goto tr24 + st250: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof250 + } + stCase250: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st251 + } + goto tr24 + st251: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof251 + } + stCase251: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st252 + } + goto tr24 + st252: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof252 + } + stCase252: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st253 + } + goto tr24 + st253: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof253 + } + stCase253: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st254 + } + goto tr24 + st254: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof254 + } + stCase254: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st255 + } + goto tr24 + st255: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof255 + } + stCase255: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st256 + } + goto tr24 + st256: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof256 + } + stCase256: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st257 + } + goto tr24 + st257: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof257 + } + stCase257: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st258 + } + goto tr24 + st258: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof258 + } + stCase258: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st259 + } + goto tr24 + st259: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof259 + } + stCase259: + if (m.data)[(m.p)] == 32 { + goto tr26 + } + goto tr24 + st260: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof260 + } + stCase260: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st261 + } + goto tr20 + st261: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof261 + } + stCase261: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st262 + } + goto tr20 + st262: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof262 + } + stCase262: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st263 + } + goto tr20 + st263: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof263 + } + stCase263: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st264 + } + goto tr20 + st264: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof264 + } + stCase264: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st265 + } + goto tr20 + st265: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof265 + } + stCase265: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st266 + } + goto tr20 + st266: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof266 + } + stCase266: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st267 + } + goto tr20 + st267: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof267 + } + stCase267: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st268 + } + goto tr20 + st268: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof268 + } + stCase268: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st269 + } + goto tr20 + st269: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof269 + } + stCase269: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st270 + } + goto tr20 + st270: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof270 + } + stCase270: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st271 + } + goto tr20 + st271: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof271 + } + stCase271: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st272 + } + goto tr20 + st272: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof272 + } + stCase272: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st273 + } + goto tr20 + st273: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof273 + } + stCase273: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st274 + } + goto tr20 + st274: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof274 + } + stCase274: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st275 + } + goto tr20 + st275: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof275 + } + stCase275: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st276 + } + goto tr20 + st276: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof276 + } + stCase276: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st277 + } + goto tr20 + st277: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof277 + } + stCase277: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st278 + } + goto tr20 + st278: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof278 + } + stCase278: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st279 + } + goto tr20 + st279: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof279 + } + stCase279: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st280 + } + goto tr20 + st280: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof280 + } + stCase280: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st281 + } + goto tr20 + st281: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof281 + } + stCase281: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st282 + } + goto tr20 + st282: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof282 + } + stCase282: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st283 + } + goto tr20 + st283: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof283 + } + stCase283: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st284 + } + goto tr20 + st284: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof284 + } + stCase284: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st285 + } + goto tr20 + st285: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof285 + } + stCase285: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st286 + } + goto tr20 + st286: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof286 + } + stCase286: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st287 + } + goto tr20 + st287: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof287 + } + stCase287: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st288 + } + goto tr20 + st288: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof288 + } + stCase288: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st289 + } + goto tr20 + st289: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof289 + } + stCase289: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st290 + } + goto tr20 + st290: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof290 + } + stCase290: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st291 + } + goto tr20 + st291: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof291 + } + stCase291: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st292 + } + goto tr20 + st292: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof292 + } + stCase292: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st293 + } + goto tr20 + st293: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof293 + } + stCase293: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st294 + } + goto tr20 + st294: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof294 + } + stCase294: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st295 + } + goto tr20 + st295: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof295 + } + stCase295: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st296 + } + goto tr20 + st296: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof296 + } + stCase296: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st297 + } + goto tr20 + st297: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof297 + } + stCase297: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st298 + } + goto tr20 + st298: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof298 + } + stCase298: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st299 + } + goto tr20 + st299: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof299 + } + stCase299: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st300 + } + goto tr20 + st300: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof300 + } + stCase300: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st301 + } + goto tr20 + st301: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof301 + } + stCase301: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st302 + } + goto tr20 + st302: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof302 + } + stCase302: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st303 + } + goto tr20 + st303: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof303 + } + stCase303: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st304 + } + goto tr20 + st304: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof304 + } + stCase304: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st305 + } + goto tr20 + st305: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof305 + } + stCase305: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st306 + } + goto tr20 + st306: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof306 + } + stCase306: + if (m.data)[(m.p)] == 32 { + goto tr22 + } + goto tr20 + st307: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof307 + } + stCase307: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st308 + } + goto tr16 + st308: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof308 + } + stCase308: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st309 + } + goto tr16 + st309: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof309 + } + stCase309: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st310 + } + goto tr16 + st310: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof310 + } + stCase310: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st311 + } + goto tr16 + st311: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof311 + } + stCase311: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st312 + } + goto tr16 + st312: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof312 + } + stCase312: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st313 + } + goto tr16 + st313: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof313 + } + stCase313: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st314 + } + goto tr16 + st314: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof314 + } + stCase314: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st315 + } + goto tr16 + st315: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof315 + } + stCase315: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st316 + } + goto tr16 + st316: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof316 + } + stCase316: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st317 + } + goto tr16 + st317: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof317 + } + stCase317: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st318 + } + goto tr16 + st318: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof318 + } + stCase318: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st319 + } + goto tr16 + st319: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof319 + } + stCase319: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st320 + } + goto tr16 + st320: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof320 + } + stCase320: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st321 + } + goto tr16 + st321: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof321 + } + stCase321: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st322 + } + goto tr16 + st322: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof322 + } + stCase322: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st323 + } + goto tr16 + st323: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof323 + } + stCase323: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st324 + } + goto tr16 + st324: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof324 + } + stCase324: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st325 + } + goto tr16 + st325: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof325 + } + stCase325: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st326 + } + goto tr16 + st326: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof326 + } + stCase326: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st327 + } + goto tr16 + st327: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof327 + } + stCase327: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st328 + } + goto tr16 + st328: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof328 + } + stCase328: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st329 + } + goto tr16 + st329: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof329 + } + stCase329: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st330 + } + goto tr16 + st330: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof330 + } + stCase330: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st331 + } + goto tr16 + st331: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof331 + } + stCase331: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st332 + } + goto tr16 + st332: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof332 + } + stCase332: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st333 + } + goto tr16 + st333: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof333 + } + stCase333: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st334 + } + goto tr16 + st334: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof334 + } + stCase334: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st335 + } + goto tr16 + st335: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof335 + } + stCase335: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st336 + } + goto tr16 + st336: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof336 + } + stCase336: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st337 + } + goto tr16 + st337: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof337 + } + stCase337: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st338 + } + goto tr16 + st338: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof338 + } + stCase338: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st339 + } + goto tr16 + st339: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof339 + } + stCase339: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st340 + } + goto tr16 + st340: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof340 + } + stCase340: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st341 + } + goto tr16 + st341: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof341 + } + stCase341: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st342 + } + goto tr16 + st342: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof342 + } + stCase342: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st343 + } + goto tr16 + st343: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof343 + } + stCase343: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st344 + } + goto tr16 + st344: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof344 + } + stCase344: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st345 + } + goto tr16 + st345: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof345 + } + stCase345: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st346 + } + goto tr16 + st346: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof346 + } + stCase346: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st347 + } + goto tr16 + st347: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof347 + } + stCase347: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st348 + } + goto tr16 + st348: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof348 + } + stCase348: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st349 + } + goto tr16 + st349: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof349 + } + stCase349: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st350 + } + goto tr16 + st350: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof350 + } + stCase350: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st351 + } + goto tr16 + st351: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof351 + } + stCase351: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st352 + } + goto tr16 + st352: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof352 + } + stCase352: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st353 + } + goto tr16 + st353: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof353 + } + stCase353: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st354 + } + goto tr16 + st354: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof354 + } + stCase354: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st355 + } + goto tr16 + st355: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof355 + } + stCase355: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st356 + } + goto tr16 + st356: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof356 + } + stCase356: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st357 + } + goto tr16 + st357: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof357 + } + stCase357: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st358 + } + goto tr16 + st358: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof358 + } + stCase358: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st359 + } + goto tr16 + st359: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof359 + } + stCase359: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st360 + } + goto tr16 + st360: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof360 + } + stCase360: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st361 + } + goto tr16 + st361: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof361 + } + stCase361: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st362 + } + goto tr16 + st362: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof362 + } + stCase362: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st363 + } + goto tr16 + st363: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof363 + } + stCase363: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st364 + } + goto tr16 + st364: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof364 + } + stCase364: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st365 + } + goto tr16 + st365: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof365 + } + stCase365: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st366 + } + goto tr16 + st366: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof366 + } + stCase366: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st367 + } + goto tr16 + st367: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof367 + } + stCase367: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st368 + } + goto tr16 + st368: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof368 + } + stCase368: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st369 + } + goto tr16 + st369: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof369 + } + stCase369: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st370 + } + goto tr16 + st370: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof370 + } + stCase370: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st371 + } + goto tr16 + st371: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof371 + } + stCase371: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st372 + } + goto tr16 + st372: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof372 + } + stCase372: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st373 + } + goto tr16 + st373: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof373 + } + stCase373: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st374 + } + goto tr16 + st374: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof374 + } + stCase374: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st375 + } + goto tr16 + st375: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof375 + } + stCase375: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st376 + } + goto tr16 + st376: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof376 + } + stCase376: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st377 + } + goto tr16 + st377: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof377 + } + stCase377: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st378 + } + goto tr16 + st378: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof378 + } + stCase378: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st379 + } + goto tr16 + st379: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof379 + } + stCase379: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st380 + } + goto tr16 + st380: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof380 + } + stCase380: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st381 + } + goto tr16 + st381: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof381 + } + stCase381: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st382 + } + goto tr16 + st382: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof382 + } + stCase382: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st383 + } + goto tr16 + st383: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof383 + } + stCase383: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st384 + } + goto tr16 + st384: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof384 + } + stCase384: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st385 + } + goto tr16 + st385: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof385 + } + stCase385: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st386 + } + goto tr16 + st386: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof386 + } + stCase386: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st387 + } + goto tr16 + st387: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof387 + } + stCase387: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st388 + } + goto tr16 + st388: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof388 + } + stCase388: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st389 + } + goto tr16 + st389: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof389 + } + stCase389: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st390 + } + goto tr16 + st390: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof390 + } + stCase390: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st391 + } + goto tr16 + st391: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof391 + } + stCase391: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st392 + } + goto tr16 + st392: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof392 + } + stCase392: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st393 + } + goto tr16 + st393: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof393 + } + stCase393: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st394 + } + goto tr16 + st394: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof394 + } + stCase394: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st395 + } + goto tr16 + st395: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof395 + } + stCase395: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st396 + } + goto tr16 + st396: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof396 + } + stCase396: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st397 + } + goto tr16 + st397: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof397 + } + stCase397: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st398 + } + goto tr16 + st398: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof398 + } + stCase398: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st399 + } + goto tr16 + st399: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof399 + } + stCase399: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st400 + } + goto tr16 + st400: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof400 + } + stCase400: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st401 + } + goto tr16 + st401: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof401 + } + stCase401: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st402 + } + goto tr16 + st402: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof402 + } + stCase402: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st403 + } + goto tr16 + st403: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof403 + } + stCase403: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st404 + } + goto tr16 + st404: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof404 + } + stCase404: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st405 + } + goto tr16 + st405: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof405 + } + stCase405: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st406 + } + goto tr16 + st406: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof406 + } + stCase406: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st407 + } + goto tr16 + st407: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof407 + } + stCase407: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st408 + } + goto tr16 + st408: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof408 + } + stCase408: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st409 + } + goto tr16 + st409: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof409 + } + stCase409: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st410 + } + goto tr16 + st410: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof410 + } + stCase410: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st411 + } + goto tr16 + st411: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof411 + } + stCase411: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st412 + } + goto tr16 + st412: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof412 + } + stCase412: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st413 + } + goto tr16 + st413: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof413 + } + stCase413: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st414 + } + goto tr16 + st414: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof414 + } + stCase414: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st415 + } + goto tr16 + st415: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof415 + } + stCase415: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st416 + } + goto tr16 + st416: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof416 + } + stCase416: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st417 + } + goto tr16 + st417: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof417 + } + stCase417: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st418 + } + goto tr16 + st418: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof418 + } + stCase418: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st419 + } + goto tr16 + st419: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof419 + } + stCase419: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st420 + } + goto tr16 + st420: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof420 + } + stCase420: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st421 + } + goto tr16 + st421: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof421 + } + stCase421: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st422 + } + goto tr16 + st422: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof422 + } + stCase422: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st423 + } + goto tr16 + st423: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof423 + } + stCase423: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st424 + } + goto tr16 + st424: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof424 + } + stCase424: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st425 + } + goto tr16 + st425: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof425 + } + stCase425: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st426 + } + goto tr16 + st426: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof426 + } + stCase426: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st427 + } + goto tr16 + st427: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof427 + } + stCase427: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st428 + } + goto tr16 + st428: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof428 + } + stCase428: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st429 + } + goto tr16 + st429: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof429 + } + stCase429: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st430 + } + goto tr16 + st430: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof430 + } + stCase430: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st431 + } + goto tr16 + st431: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof431 + } + stCase431: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st432 + } + goto tr16 + st432: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof432 + } + stCase432: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st433 + } + goto tr16 + st433: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof433 + } + stCase433: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st434 + } + goto tr16 + st434: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof434 + } + stCase434: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st435 + } + goto tr16 + st435: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof435 + } + stCase435: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st436 + } + goto tr16 + st436: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof436 + } + stCase436: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st437 + } + goto tr16 + st437: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof437 + } + stCase437: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st438 + } + goto tr16 + st438: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof438 + } + stCase438: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st439 + } + goto tr16 + st439: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof439 + } + stCase439: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st440 + } + goto tr16 + st440: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof440 + } + stCase440: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st441 + } + goto tr16 + st441: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof441 + } + stCase441: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st442 + } + goto tr16 + st442: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof442 + } + stCase442: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st443 + } + goto tr16 + st443: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof443 + } + stCase443: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st444 + } + goto tr16 + st444: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof444 + } + stCase444: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st445 + } + goto tr16 + st445: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof445 + } + stCase445: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st446 + } + goto tr16 + st446: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof446 + } + stCase446: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st447 + } + goto tr16 + st447: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof447 + } + stCase447: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st448 + } + goto tr16 + st448: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof448 + } + stCase448: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st449 + } + goto tr16 + st449: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof449 + } + stCase449: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st450 + } + goto tr16 + st450: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof450 + } + stCase450: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st451 + } + goto tr16 + st451: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof451 + } + stCase451: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st452 + } + goto tr16 + st452: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof452 + } + stCase452: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st453 + } + goto tr16 + st453: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof453 + } + stCase453: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st454 + } + goto tr16 + st454: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof454 + } + stCase454: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st455 + } + goto tr16 + st455: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof455 + } + stCase455: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st456 + } + goto tr16 + st456: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof456 + } + stCase456: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st457 + } + goto tr16 + st457: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof457 + } + stCase457: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st458 + } + goto tr16 + st458: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof458 + } + stCase458: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st459 + } + goto tr16 + st459: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof459 + } + stCase459: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st460 + } + goto tr16 + st460: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof460 + } + stCase460: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st461 + } + goto tr16 + st461: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof461 + } + stCase461: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st462 + } + goto tr16 + st462: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof462 + } + stCase462: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st463 + } + goto tr16 + st463: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof463 + } + stCase463: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st464 + } + goto tr16 + st464: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof464 + } + stCase464: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st465 + } + goto tr16 + st465: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof465 + } + stCase465: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st466 + } + goto tr16 + st466: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof466 + } + stCase466: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st467 + } + goto tr16 + st467: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof467 + } + stCase467: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st468 + } + goto tr16 + st468: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof468 + } + stCase468: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st469 + } + goto tr16 + st469: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof469 + } + stCase469: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st470 + } + goto tr16 + st470: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof470 + } + stCase470: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st471 + } + goto tr16 + st471: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof471 + } + stCase471: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st472 + } + goto tr16 + st472: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof472 + } + stCase472: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st473 + } + goto tr16 + st473: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof473 + } + stCase473: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st474 + } + goto tr16 + st474: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof474 + } + stCase474: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st475 + } + goto tr16 + st475: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof475 + } + stCase475: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st476 + } + goto tr16 + st476: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof476 + } + stCase476: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st477 + } + goto tr16 + st477: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof477 + } + stCase477: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st478 + } + goto tr16 + st478: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof478 + } + stCase478: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st479 + } + goto tr16 + st479: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof479 + } + stCase479: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st480 + } + goto tr16 + st480: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof480 + } + stCase480: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st481 + } + goto tr16 + st481: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof481 + } + stCase481: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st482 + } + goto tr16 + st482: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof482 + } + stCase482: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st483 + } + goto tr16 + st483: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof483 + } + stCase483: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st484 + } + goto tr16 + st484: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof484 + } + stCase484: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st485 + } + goto tr16 + st485: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof485 + } + stCase485: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st486 + } + goto tr16 + st486: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof486 + } + stCase486: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st487 + } + goto tr16 + st487: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof487 + } + stCase487: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st488 + } + goto tr16 + st488: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof488 + } + stCase488: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st489 + } + goto tr16 + st489: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof489 + } + stCase489: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st490 + } + goto tr16 + st490: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof490 + } + stCase490: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st491 + } + goto tr16 + st491: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof491 + } + stCase491: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st492 + } + goto tr16 + st492: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof492 + } + stCase492: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st493 + } + goto tr16 + st493: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof493 + } + stCase493: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st494 + } + goto tr16 + st494: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof494 + } + stCase494: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st495 + } + goto tr16 + st495: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof495 + } + stCase495: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st496 + } + goto tr16 + st496: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof496 + } + stCase496: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st497 + } + goto tr16 + st497: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof497 + } + stCase497: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st498 + } + goto tr16 + st498: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof498 + } + stCase498: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st499 + } + goto tr16 + st499: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof499 + } + stCase499: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st500 + } + goto tr16 + st500: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof500 + } + stCase500: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st501 + } + goto tr16 + st501: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof501 + } + stCase501: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st502 + } + goto tr16 + st502: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof502 + } + stCase502: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st503 + } + goto tr16 + st503: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof503 + } + stCase503: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st504 + } + goto tr16 + st504: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof504 + } + stCase504: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st505 + } + goto tr16 + st505: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof505 + } + stCase505: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st506 + } + goto tr16 + st506: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof506 + } + stCase506: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st507 + } + goto tr16 + st507: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof507 + } + stCase507: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st508 + } + goto tr16 + st508: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof508 + } + stCase508: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st509 + } + goto tr16 + st509: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof509 + } + stCase509: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st510 + } + goto tr16 + st510: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof510 + } + stCase510: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st511 + } + goto tr16 + st511: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof511 + } + stCase511: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st512 + } + goto tr16 + st512: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof512 + } + stCase512: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st513 + } + goto tr16 + st513: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof513 + } + stCase513: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st514 + } + goto tr16 + st514: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof514 + } + stCase514: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st515 + } + goto tr16 + st515: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof515 + } + stCase515: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st516 + } + goto tr16 + st516: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof516 + } + stCase516: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st517 + } + goto tr16 + st517: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof517 + } + stCase517: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st518 + } + goto tr16 + st518: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof518 + } + stCase518: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st519 + } + goto tr16 + st519: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof519 + } + stCase519: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st520 + } + goto tr16 + st520: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof520 + } + stCase520: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st521 + } + goto tr16 + st521: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof521 + } + stCase521: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st522 + } + goto tr16 + st522: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof522 + } + stCase522: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st523 + } + goto tr16 + st523: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof523 + } + stCase523: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st524 + } + goto tr16 + st524: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof524 + } + stCase524: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st525 + } + goto tr16 + st525: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof525 + } + stCase525: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st526 + } + goto tr16 + st526: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof526 + } + stCase526: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st527 + } + goto tr16 + st527: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof527 + } + stCase527: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st528 + } + goto tr16 + st528: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof528 + } + stCase528: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st529 + } + goto tr16 + st529: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof529 + } + stCase529: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st530 + } + goto tr16 + st530: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof530 + } + stCase530: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st531 + } + goto tr16 + st531: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof531 + } + stCase531: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st532 + } + goto tr16 + st532: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof532 + } + stCase532: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st533 + } + goto tr16 + st533: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof533 + } + stCase533: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st534 + } + goto tr16 + st534: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof534 + } + stCase534: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st535 + } + goto tr16 + st535: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof535 + } + stCase535: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st536 + } + goto tr16 + st536: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof536 + } + stCase536: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st537 + } + goto tr16 + st537: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof537 + } + stCase537: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st538 + } + goto tr16 + st538: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof538 + } + stCase538: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st539 + } + goto tr16 + st539: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof539 + } + stCase539: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st540 + } + goto tr16 + st540: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof540 + } + stCase540: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st541 + } + goto tr16 + st541: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof541 + } + stCase541: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st542 + } + goto tr16 + st542: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof542 + } + stCase542: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st543 + } + goto tr16 + st543: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof543 + } + stCase543: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st544 + } + goto tr16 + st544: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof544 + } + stCase544: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st545 + } + goto tr16 + st545: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof545 + } + stCase545: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st546 + } + goto tr16 + st546: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof546 + } + stCase546: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st547 + } + goto tr16 + st547: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof547 + } + stCase547: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st548 + } + goto tr16 + st548: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof548 + } + stCase548: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st549 + } + goto tr16 + st549: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof549 + } + stCase549: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st550 + } + goto tr16 + st550: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof550 + } + stCase550: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st551 + } + goto tr16 + st551: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof551 + } + stCase551: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st552 + } + goto tr16 + st552: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof552 + } + stCase552: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st553 + } + goto tr16 + st553: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof553 + } + stCase553: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st554 + } + goto tr16 + st554: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof554 + } + stCase554: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st555 + } + goto tr16 + st555: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof555 + } + stCase555: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st556 + } + goto tr16 + st556: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof556 + } + stCase556: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st557 + } + goto tr16 + st557: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof557 + } + stCase557: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st558 + } + goto tr16 + st558: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof558 + } + stCase558: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st559 + } + goto tr16 + st559: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof559 + } + stCase559: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + if 33 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 126 { + goto st560 + } + goto tr16 + st560: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof560 + } + stCase560: + if (m.data)[(m.p)] == 32 { + goto tr18 + } + goto tr16 + tr14: + + m.pb = m.p + + goto st561 + st561: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof561 + } + stCase561: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st562 + } + goto tr12 + st562: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof562 + } + stCase562: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st563 + } + goto tr12 + st563: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof563 + } + stCase563: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st564 + } + goto tr12 + st564: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof564 + } + stCase564: + if (m.data)[(m.p)] == 45 { + goto st565 + } + goto tr12 + st565: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof565 + } + stCase565: + switch (m.data)[(m.p)] { + case 48: + goto st566 + case 49: + goto st597 + } + goto tr12 + st566: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof566 + } + stCase566: + if 49 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st567 + } + goto tr12 + st567: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof567 + } + stCase567: + if (m.data)[(m.p)] == 45 { + goto st568 + } + goto tr12 + st568: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof568 + } + stCase568: + switch (m.data)[(m.p)] { + case 48: + goto st569 + case 51: + goto st596 + } + if 49 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 50 { + goto st595 + } + goto tr12 + st569: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof569 + } + stCase569: + if 49 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st570 + } + goto tr12 + st570: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof570 + } + stCase570: + if (m.data)[(m.p)] == 84 { + goto st571 + } + goto tr12 + st571: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof571 + } + stCase571: + if (m.data)[(m.p)] == 50 { + goto st594 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 49 { + goto st572 + } + goto tr12 + st572: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof572 + } + stCase572: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st573 + } + goto tr12 + st573: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof573 + } + stCase573: + if (m.data)[(m.p)] == 58 { + goto st574 + } + goto tr12 + st574: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof574 + } + stCase574: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 53 { + goto st575 + } + goto tr12 + st575: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof575 + } + stCase575: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st576 + } + goto tr12 + st576: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof576 + } + stCase576: + if (m.data)[(m.p)] == 58 { + goto st577 + } + goto tr12 + st577: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof577 + } + stCase577: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 53 { + goto st578 + } + goto tr12 + st578: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof578 + } + stCase578: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st579 + } + goto tr12 + st579: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof579 + } + stCase579: + switch (m.data)[(m.p)] { + case 43: + goto st580 + case 45: + goto st580 + case 46: + goto st587 + case 90: + goto st585 + } + goto tr12 + st580: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof580 + } + stCase580: + if (m.data)[(m.p)] == 50 { + goto st586 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 49 { + goto st581 + } + goto tr12 + st581: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof581 + } + stCase581: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st582 + } + goto tr12 + st582: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof582 + } + stCase582: + if (m.data)[(m.p)] == 58 { + goto st583 + } + goto tr12 + st583: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof583 + } + stCase583: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 53 { + goto st584 + } + goto tr12 + st584: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof584 + } + stCase584: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st585 + } + goto tr12 + st585: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof585 + } + stCase585: + if (m.data)[(m.p)] == 32 { + goto tr620 + } + goto tr619 + st586: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof586 + } + stCase586: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 51 { + goto st582 + } + goto tr12 + st587: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof587 + } + stCase587: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st588 + } + goto tr12 + st588: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof588 + } + stCase588: + switch (m.data)[(m.p)] { + case 43: + goto st580 + case 45: + goto st580 + case 90: + goto st585 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st589 + } + goto tr12 + st589: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof589 + } + stCase589: + switch (m.data)[(m.p)] { + case 43: + goto st580 + case 45: + goto st580 + case 90: + goto st585 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st590 + } + goto tr12 + st590: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof590 + } + stCase590: + switch (m.data)[(m.p)] { + case 43: + goto st580 + case 45: + goto st580 + case 90: + goto st585 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st591 + } + goto tr12 + st591: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof591 + } + stCase591: + switch (m.data)[(m.p)] { + case 43: + goto st580 + case 45: + goto st580 + case 90: + goto st585 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st592 + } + goto tr12 + st592: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof592 + } + stCase592: + switch (m.data)[(m.p)] { + case 43: + goto st580 + case 45: + goto st580 + case 90: + goto st585 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st593 + } + goto tr12 + st593: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof593 + } + stCase593: + switch (m.data)[(m.p)] { + case 43: + goto st580 + case 45: + goto st580 + case 90: + goto st585 + } + goto tr12 + st594: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof594 + } + stCase594: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 51 { + goto st573 + } + goto tr12 + st595: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof595 + } + stCase595: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st570 + } + goto tr12 + st596: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof596 + } + stCase596: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 49 { + goto st570 + } + goto tr12 + st597: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof597 + } + stCase597: + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 50 { + goto st567 + } + goto tr12 + st598: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof598 + } + stCase598: + + output.version = uint16(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + + if (m.data)[(m.p)] == 32 { + goto st6 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st599 + } + goto tr7 + st599: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof599 + } + stCase599: + + output.version = uint16(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + + if (m.data)[(m.p)] == 32 { + goto st6 + } + goto tr7 + tr4: + + m.pb = m.p + + goto st600 + st600: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof600 + } + stCase600: + + output.priority = uint8(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + output.prioritySet = true + + switch (m.data)[(m.p)] { + case 57: + goto st602 + case 62: + goto st4 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 56 { + goto st601 + } + goto tr2 + tr5: + + m.pb = m.p + + goto st601 + st601: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof601 + } + stCase601: + + output.priority = uint8(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + output.prioritySet = true + + if (m.data)[(m.p)] == 62 { + goto st4 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 57 { + goto st3 + } + goto tr2 + st602: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof602 + } + stCase602: + + output.priority = uint8(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + output.prioritySet = true + + if (m.data)[(m.p)] == 62 { + goto st4 + } + if 48 <= (m.data)[(m.p)] && (m.data)[(m.p)] <= 49 { + goto st3 + } + goto tr2 + st607: + if (m.p)++; (m.p) == (m.pe) { + goto _testEof607 + } + stCase607: + switch (m.data)[(m.p)] { + case 10: + goto st0 + case 13: + goto st0 + } + goto st607 + stOut: + _testEof2: + m.cs = 2 + goto _testEof + _testEof3: + m.cs = 3 + goto _testEof + _testEof4: + m.cs = 4 + goto _testEof + _testEof5: + m.cs = 5 + goto _testEof + _testEof6: + m.cs = 6 + goto _testEof + _testEof7: + m.cs = 7 + goto _testEof + _testEof8: + m.cs = 8 + goto _testEof + _testEof9: + m.cs = 9 + goto _testEof + _testEof10: + m.cs = 10 + goto _testEof + _testEof11: + m.cs = 11 + goto _testEof + _testEof12: + m.cs = 12 + goto _testEof + _testEof13: + m.cs = 13 + goto _testEof + _testEof14: + m.cs = 14 + goto _testEof + _testEof15: + m.cs = 15 + goto _testEof + _testEof16: + m.cs = 16 + goto _testEof + _testEof603: + m.cs = 603 + goto _testEof + _testEof604: + m.cs = 604 + goto _testEof + _testEof605: + m.cs = 605 + goto _testEof + _testEof17: + m.cs = 17 + goto _testEof + _testEof18: + m.cs = 18 + goto _testEof + _testEof19: + m.cs = 19 + goto _testEof + _testEof20: + m.cs = 20 + goto _testEof + _testEof21: + m.cs = 21 + goto _testEof + _testEof22: + m.cs = 22 + goto _testEof + _testEof23: + m.cs = 23 + goto _testEof + _testEof24: + m.cs = 24 + goto _testEof + _testEof25: + m.cs = 25 + goto _testEof + _testEof26: + m.cs = 26 + goto _testEof + _testEof27: + m.cs = 27 + goto _testEof + _testEof28: + m.cs = 28 + goto _testEof + _testEof29: + m.cs = 29 + goto _testEof + _testEof30: + m.cs = 30 + goto _testEof + _testEof31: + m.cs = 31 + goto _testEof + _testEof32: + m.cs = 32 + goto _testEof + _testEof33: + m.cs = 33 + goto _testEof + _testEof34: + m.cs = 34 + goto _testEof + _testEof35: + m.cs = 35 + goto _testEof + _testEof36: + m.cs = 36 + goto _testEof + _testEof37: + m.cs = 37 + goto _testEof + _testEof38: + m.cs = 38 + goto _testEof + _testEof39: + m.cs = 39 + goto _testEof + _testEof40: + m.cs = 40 + goto _testEof + _testEof41: + m.cs = 41 + goto _testEof + _testEof42: + m.cs = 42 + goto _testEof + _testEof43: + m.cs = 43 + goto _testEof + _testEof44: + m.cs = 44 + goto _testEof + _testEof45: + m.cs = 45 + goto _testEof + _testEof46: + m.cs = 46 + goto _testEof + _testEof47: + m.cs = 47 + goto _testEof + _testEof48: + m.cs = 48 + goto _testEof + _testEof49: + m.cs = 49 + goto _testEof + _testEof50: + m.cs = 50 + goto _testEof + _testEof51: + m.cs = 51 + goto _testEof + _testEof52: + m.cs = 52 + goto _testEof + _testEof53: + m.cs = 53 + goto _testEof + _testEof54: + m.cs = 54 + goto _testEof + _testEof55: + m.cs = 55 + goto _testEof + _testEof56: + m.cs = 56 + goto _testEof + _testEof57: + m.cs = 57 + goto _testEof + _testEof58: + m.cs = 58 + goto _testEof + _testEof59: + m.cs = 59 + goto _testEof + _testEof60: + m.cs = 60 + goto _testEof + _testEof61: + m.cs = 61 + goto _testEof + _testEof62: + m.cs = 62 + goto _testEof + _testEof606: + m.cs = 606 + goto _testEof + _testEof63: + m.cs = 63 + goto _testEof + _testEof64: + m.cs = 64 + goto _testEof + _testEof65: + m.cs = 65 + goto _testEof + _testEof66: + m.cs = 66 + goto _testEof + _testEof67: + m.cs = 67 + goto _testEof + _testEof68: + m.cs = 68 + goto _testEof + _testEof69: + m.cs = 69 + goto _testEof + _testEof70: + m.cs = 70 + goto _testEof + _testEof71: + m.cs = 71 + goto _testEof + _testEof72: + m.cs = 72 + goto _testEof + _testEof73: + m.cs = 73 + goto _testEof + _testEof74: + m.cs = 74 + goto _testEof + _testEof75: + m.cs = 75 + goto _testEof + _testEof76: + m.cs = 76 + goto _testEof + _testEof77: + m.cs = 77 + goto _testEof + _testEof78: + m.cs = 78 + goto _testEof + _testEof79: + m.cs = 79 + goto _testEof + _testEof80: + m.cs = 80 + goto _testEof + _testEof81: + m.cs = 81 + goto _testEof + _testEof82: + m.cs = 82 + goto _testEof + _testEof83: + m.cs = 83 + goto _testEof + _testEof84: + m.cs = 84 + goto _testEof + _testEof85: + m.cs = 85 + goto _testEof + _testEof86: + m.cs = 86 + goto _testEof + _testEof87: + m.cs = 87 + goto _testEof + _testEof88: + m.cs = 88 + goto _testEof + _testEof89: + m.cs = 89 + goto _testEof + _testEof90: + m.cs = 90 + goto _testEof + _testEof91: + m.cs = 91 + goto _testEof + _testEof92: + m.cs = 92 + goto _testEof + _testEof93: + m.cs = 93 + goto _testEof + _testEof94: + m.cs = 94 + goto _testEof + _testEof95: + m.cs = 95 + goto _testEof + _testEof96: + m.cs = 96 + goto _testEof + _testEof97: + m.cs = 97 + goto _testEof + _testEof98: + m.cs = 98 + goto _testEof + _testEof99: + m.cs = 99 + goto _testEof + _testEof100: + m.cs = 100 + goto _testEof + _testEof101: + m.cs = 101 + goto _testEof + _testEof102: + m.cs = 102 + goto _testEof + _testEof103: + m.cs = 103 + goto _testEof + _testEof104: + m.cs = 104 + goto _testEof + _testEof105: + m.cs = 105 + goto _testEof + _testEof106: + m.cs = 106 + goto _testEof + _testEof107: + m.cs = 107 + goto _testEof + _testEof108: + m.cs = 108 + goto _testEof + _testEof109: + m.cs = 109 + goto _testEof + _testEof110: + m.cs = 110 + goto _testEof + _testEof111: + m.cs = 111 + goto _testEof + _testEof112: + m.cs = 112 + goto _testEof + _testEof113: + m.cs = 113 + goto _testEof + _testEof114: + m.cs = 114 + goto _testEof + _testEof115: + m.cs = 115 + goto _testEof + _testEof116: + m.cs = 116 + goto _testEof + _testEof117: + m.cs = 117 + goto _testEof + _testEof118: + m.cs = 118 + goto _testEof + _testEof119: + m.cs = 119 + goto _testEof + _testEof120: + m.cs = 120 + goto _testEof + _testEof121: + m.cs = 121 + goto _testEof + _testEof122: + m.cs = 122 + goto _testEof + _testEof123: + m.cs = 123 + goto _testEof + _testEof124: + m.cs = 124 + goto _testEof + _testEof125: + m.cs = 125 + goto _testEof + _testEof126: + m.cs = 126 + goto _testEof + _testEof127: + m.cs = 127 + goto _testEof + _testEof128: + m.cs = 128 + goto _testEof + _testEof129: + m.cs = 129 + goto _testEof + _testEof130: + m.cs = 130 + goto _testEof + _testEof131: + m.cs = 131 + goto _testEof + _testEof132: + m.cs = 132 + goto _testEof + _testEof133: + m.cs = 133 + goto _testEof + _testEof134: + m.cs = 134 + goto _testEof + _testEof135: + m.cs = 135 + goto _testEof + _testEof136: + m.cs = 136 + goto _testEof + _testEof137: + m.cs = 137 + goto _testEof + _testEof138: + m.cs = 138 + goto _testEof + _testEof139: + m.cs = 139 + goto _testEof + _testEof140: + m.cs = 140 + goto _testEof + _testEof141: + m.cs = 141 + goto _testEof + _testEof142: + m.cs = 142 + goto _testEof + _testEof143: + m.cs = 143 + goto _testEof + _testEof144: + m.cs = 144 + goto _testEof + _testEof145: + m.cs = 145 + goto _testEof + _testEof146: + m.cs = 146 + goto _testEof + _testEof147: + m.cs = 147 + goto _testEof + _testEof148: + m.cs = 148 + goto _testEof + _testEof149: + m.cs = 149 + goto _testEof + _testEof150: + m.cs = 150 + goto _testEof + _testEof151: + m.cs = 151 + goto _testEof + _testEof152: + m.cs = 152 + goto _testEof + _testEof153: + m.cs = 153 + goto _testEof + _testEof154: + m.cs = 154 + goto _testEof + _testEof155: + m.cs = 155 + goto _testEof + _testEof156: + m.cs = 156 + goto _testEof + _testEof157: + m.cs = 157 + goto _testEof + _testEof158: + m.cs = 158 + goto _testEof + _testEof159: + m.cs = 159 + goto _testEof + _testEof160: + m.cs = 160 + goto _testEof + _testEof161: + m.cs = 161 + goto _testEof + _testEof162: + m.cs = 162 + goto _testEof + _testEof163: + m.cs = 163 + goto _testEof + _testEof164: + m.cs = 164 + goto _testEof + _testEof165: + m.cs = 165 + goto _testEof + _testEof166: + m.cs = 166 + goto _testEof + _testEof167: + m.cs = 167 + goto _testEof + _testEof168: + m.cs = 168 + goto _testEof + _testEof169: + m.cs = 169 + goto _testEof + _testEof170: + m.cs = 170 + goto _testEof + _testEof171: + m.cs = 171 + goto _testEof + _testEof172: + m.cs = 172 + goto _testEof + _testEof173: + m.cs = 173 + goto _testEof + _testEof174: + m.cs = 174 + goto _testEof + _testEof175: + m.cs = 175 + goto _testEof + _testEof176: + m.cs = 176 + goto _testEof + _testEof177: + m.cs = 177 + goto _testEof + _testEof178: + m.cs = 178 + goto _testEof + _testEof179: + m.cs = 179 + goto _testEof + _testEof180: + m.cs = 180 + goto _testEof + _testEof181: + m.cs = 181 + goto _testEof + _testEof182: + m.cs = 182 + goto _testEof + _testEof183: + m.cs = 183 + goto _testEof + _testEof184: + m.cs = 184 + goto _testEof + _testEof185: + m.cs = 185 + goto _testEof + _testEof186: + m.cs = 186 + goto _testEof + _testEof187: + m.cs = 187 + goto _testEof + _testEof188: + m.cs = 188 + goto _testEof + _testEof189: + m.cs = 189 + goto _testEof + _testEof190: + m.cs = 190 + goto _testEof + _testEof191: + m.cs = 191 + goto _testEof + _testEof192: + m.cs = 192 + goto _testEof + _testEof193: + m.cs = 193 + goto _testEof + _testEof194: + m.cs = 194 + goto _testEof + _testEof195: + m.cs = 195 + goto _testEof + _testEof196: + m.cs = 196 + goto _testEof + _testEof197: + m.cs = 197 + goto _testEof + _testEof198: + m.cs = 198 + goto _testEof + _testEof199: + m.cs = 199 + goto _testEof + _testEof200: + m.cs = 200 + goto _testEof + _testEof201: + m.cs = 201 + goto _testEof + _testEof202: + m.cs = 202 + goto _testEof + _testEof203: + m.cs = 203 + goto _testEof + _testEof204: + m.cs = 204 + goto _testEof + _testEof205: + m.cs = 205 + goto _testEof + _testEof206: + m.cs = 206 + goto _testEof + _testEof207: + m.cs = 207 + goto _testEof + _testEof208: + m.cs = 208 + goto _testEof + _testEof209: + m.cs = 209 + goto _testEof + _testEof210: + m.cs = 210 + goto _testEof + _testEof211: + m.cs = 211 + goto _testEof + _testEof212: + m.cs = 212 + goto _testEof + _testEof213: + m.cs = 213 + goto _testEof + _testEof214: + m.cs = 214 + goto _testEof + _testEof215: + m.cs = 215 + goto _testEof + _testEof216: + m.cs = 216 + goto _testEof + _testEof217: + m.cs = 217 + goto _testEof + _testEof218: + m.cs = 218 + goto _testEof + _testEof219: + m.cs = 219 + goto _testEof + _testEof220: + m.cs = 220 + goto _testEof + _testEof221: + m.cs = 221 + goto _testEof + _testEof222: + m.cs = 222 + goto _testEof + _testEof223: + m.cs = 223 + goto _testEof + _testEof224: + m.cs = 224 + goto _testEof + _testEof225: + m.cs = 225 + goto _testEof + _testEof226: + m.cs = 226 + goto _testEof + _testEof227: + m.cs = 227 + goto _testEof + _testEof228: + m.cs = 228 + goto _testEof + _testEof229: + m.cs = 229 + goto _testEof + _testEof230: + m.cs = 230 + goto _testEof + _testEof231: + m.cs = 231 + goto _testEof + _testEof232: + m.cs = 232 + goto _testEof + _testEof233: + m.cs = 233 + goto _testEof + _testEof234: + m.cs = 234 + goto _testEof + _testEof235: + m.cs = 235 + goto _testEof + _testEof236: + m.cs = 236 + goto _testEof + _testEof237: + m.cs = 237 + goto _testEof + _testEof238: + m.cs = 238 + goto _testEof + _testEof239: + m.cs = 239 + goto _testEof + _testEof240: + m.cs = 240 + goto _testEof + _testEof241: + m.cs = 241 + goto _testEof + _testEof242: + m.cs = 242 + goto _testEof + _testEof243: + m.cs = 243 + goto _testEof + _testEof244: + m.cs = 244 + goto _testEof + _testEof245: + m.cs = 245 + goto _testEof + _testEof246: + m.cs = 246 + goto _testEof + _testEof247: + m.cs = 247 + goto _testEof + _testEof248: + m.cs = 248 + goto _testEof + _testEof249: + m.cs = 249 + goto _testEof + _testEof250: + m.cs = 250 + goto _testEof + _testEof251: + m.cs = 251 + goto _testEof + _testEof252: + m.cs = 252 + goto _testEof + _testEof253: + m.cs = 253 + goto _testEof + _testEof254: + m.cs = 254 + goto _testEof + _testEof255: + m.cs = 255 + goto _testEof + _testEof256: + m.cs = 256 + goto _testEof + _testEof257: + m.cs = 257 + goto _testEof + _testEof258: + m.cs = 258 + goto _testEof + _testEof259: + m.cs = 259 + goto _testEof + _testEof260: + m.cs = 260 + goto _testEof + _testEof261: + m.cs = 261 + goto _testEof + _testEof262: + m.cs = 262 + goto _testEof + _testEof263: + m.cs = 263 + goto _testEof + _testEof264: + m.cs = 264 + goto _testEof + _testEof265: + m.cs = 265 + goto _testEof + _testEof266: + m.cs = 266 + goto _testEof + _testEof267: + m.cs = 267 + goto _testEof + _testEof268: + m.cs = 268 + goto _testEof + _testEof269: + m.cs = 269 + goto _testEof + _testEof270: + m.cs = 270 + goto _testEof + _testEof271: + m.cs = 271 + goto _testEof + _testEof272: + m.cs = 272 + goto _testEof + _testEof273: + m.cs = 273 + goto _testEof + _testEof274: + m.cs = 274 + goto _testEof + _testEof275: + m.cs = 275 + goto _testEof + _testEof276: + m.cs = 276 + goto _testEof + _testEof277: + m.cs = 277 + goto _testEof + _testEof278: + m.cs = 278 + goto _testEof + _testEof279: + m.cs = 279 + goto _testEof + _testEof280: + m.cs = 280 + goto _testEof + _testEof281: + m.cs = 281 + goto _testEof + _testEof282: + m.cs = 282 + goto _testEof + _testEof283: + m.cs = 283 + goto _testEof + _testEof284: + m.cs = 284 + goto _testEof + _testEof285: + m.cs = 285 + goto _testEof + _testEof286: + m.cs = 286 + goto _testEof + _testEof287: + m.cs = 287 + goto _testEof + _testEof288: + m.cs = 288 + goto _testEof + _testEof289: + m.cs = 289 + goto _testEof + _testEof290: + m.cs = 290 + goto _testEof + _testEof291: + m.cs = 291 + goto _testEof + _testEof292: + m.cs = 292 + goto _testEof + _testEof293: + m.cs = 293 + goto _testEof + _testEof294: + m.cs = 294 + goto _testEof + _testEof295: + m.cs = 295 + goto _testEof + _testEof296: + m.cs = 296 + goto _testEof + _testEof297: + m.cs = 297 + goto _testEof + _testEof298: + m.cs = 298 + goto _testEof + _testEof299: + m.cs = 299 + goto _testEof + _testEof300: + m.cs = 300 + goto _testEof + _testEof301: + m.cs = 301 + goto _testEof + _testEof302: + m.cs = 302 + goto _testEof + _testEof303: + m.cs = 303 + goto _testEof + _testEof304: + m.cs = 304 + goto _testEof + _testEof305: + m.cs = 305 + goto _testEof + _testEof306: + m.cs = 306 + goto _testEof + _testEof307: + m.cs = 307 + goto _testEof + _testEof308: + m.cs = 308 + goto _testEof + _testEof309: + m.cs = 309 + goto _testEof + _testEof310: + m.cs = 310 + goto _testEof + _testEof311: + m.cs = 311 + goto _testEof + _testEof312: + m.cs = 312 + goto _testEof + _testEof313: + m.cs = 313 + goto _testEof + _testEof314: + m.cs = 314 + goto _testEof + _testEof315: + m.cs = 315 + goto _testEof + _testEof316: + m.cs = 316 + goto _testEof + _testEof317: + m.cs = 317 + goto _testEof + _testEof318: + m.cs = 318 + goto _testEof + _testEof319: + m.cs = 319 + goto _testEof + _testEof320: + m.cs = 320 + goto _testEof + _testEof321: + m.cs = 321 + goto _testEof + _testEof322: + m.cs = 322 + goto _testEof + _testEof323: + m.cs = 323 + goto _testEof + _testEof324: + m.cs = 324 + goto _testEof + _testEof325: + m.cs = 325 + goto _testEof + _testEof326: + m.cs = 326 + goto _testEof + _testEof327: + m.cs = 327 + goto _testEof + _testEof328: + m.cs = 328 + goto _testEof + _testEof329: + m.cs = 329 + goto _testEof + _testEof330: + m.cs = 330 + goto _testEof + _testEof331: + m.cs = 331 + goto _testEof + _testEof332: + m.cs = 332 + goto _testEof + _testEof333: + m.cs = 333 + goto _testEof + _testEof334: + m.cs = 334 + goto _testEof + _testEof335: + m.cs = 335 + goto _testEof + _testEof336: + m.cs = 336 + goto _testEof + _testEof337: + m.cs = 337 + goto _testEof + _testEof338: + m.cs = 338 + goto _testEof + _testEof339: + m.cs = 339 + goto _testEof + _testEof340: + m.cs = 340 + goto _testEof + _testEof341: + m.cs = 341 + goto _testEof + _testEof342: + m.cs = 342 + goto _testEof + _testEof343: + m.cs = 343 + goto _testEof + _testEof344: + m.cs = 344 + goto _testEof + _testEof345: + m.cs = 345 + goto _testEof + _testEof346: + m.cs = 346 + goto _testEof + _testEof347: + m.cs = 347 + goto _testEof + _testEof348: + m.cs = 348 + goto _testEof + _testEof349: + m.cs = 349 + goto _testEof + _testEof350: + m.cs = 350 + goto _testEof + _testEof351: + m.cs = 351 + goto _testEof + _testEof352: + m.cs = 352 + goto _testEof + _testEof353: + m.cs = 353 + goto _testEof + _testEof354: + m.cs = 354 + goto _testEof + _testEof355: + m.cs = 355 + goto _testEof + _testEof356: + m.cs = 356 + goto _testEof + _testEof357: + m.cs = 357 + goto _testEof + _testEof358: + m.cs = 358 + goto _testEof + _testEof359: + m.cs = 359 + goto _testEof + _testEof360: + m.cs = 360 + goto _testEof + _testEof361: + m.cs = 361 + goto _testEof + _testEof362: + m.cs = 362 + goto _testEof + _testEof363: + m.cs = 363 + goto _testEof + _testEof364: + m.cs = 364 + goto _testEof + _testEof365: + m.cs = 365 + goto _testEof + _testEof366: + m.cs = 366 + goto _testEof + _testEof367: + m.cs = 367 + goto _testEof + _testEof368: + m.cs = 368 + goto _testEof + _testEof369: + m.cs = 369 + goto _testEof + _testEof370: + m.cs = 370 + goto _testEof + _testEof371: + m.cs = 371 + goto _testEof + _testEof372: + m.cs = 372 + goto _testEof + _testEof373: + m.cs = 373 + goto _testEof + _testEof374: + m.cs = 374 + goto _testEof + _testEof375: + m.cs = 375 + goto _testEof + _testEof376: + m.cs = 376 + goto _testEof + _testEof377: + m.cs = 377 + goto _testEof + _testEof378: + m.cs = 378 + goto _testEof + _testEof379: + m.cs = 379 + goto _testEof + _testEof380: + m.cs = 380 + goto _testEof + _testEof381: + m.cs = 381 + goto _testEof + _testEof382: + m.cs = 382 + goto _testEof + _testEof383: + m.cs = 383 + goto _testEof + _testEof384: + m.cs = 384 + goto _testEof + _testEof385: + m.cs = 385 + goto _testEof + _testEof386: + m.cs = 386 + goto _testEof + _testEof387: + m.cs = 387 + goto _testEof + _testEof388: + m.cs = 388 + goto _testEof + _testEof389: + m.cs = 389 + goto _testEof + _testEof390: + m.cs = 390 + goto _testEof + _testEof391: + m.cs = 391 + goto _testEof + _testEof392: + m.cs = 392 + goto _testEof + _testEof393: + m.cs = 393 + goto _testEof + _testEof394: + m.cs = 394 + goto _testEof + _testEof395: + m.cs = 395 + goto _testEof + _testEof396: + m.cs = 396 + goto _testEof + _testEof397: + m.cs = 397 + goto _testEof + _testEof398: + m.cs = 398 + goto _testEof + _testEof399: + m.cs = 399 + goto _testEof + _testEof400: + m.cs = 400 + goto _testEof + _testEof401: + m.cs = 401 + goto _testEof + _testEof402: + m.cs = 402 + goto _testEof + _testEof403: + m.cs = 403 + goto _testEof + _testEof404: + m.cs = 404 + goto _testEof + _testEof405: + m.cs = 405 + goto _testEof + _testEof406: + m.cs = 406 + goto _testEof + _testEof407: + m.cs = 407 + goto _testEof + _testEof408: + m.cs = 408 + goto _testEof + _testEof409: + m.cs = 409 + goto _testEof + _testEof410: + m.cs = 410 + goto _testEof + _testEof411: + m.cs = 411 + goto _testEof + _testEof412: + m.cs = 412 + goto _testEof + _testEof413: + m.cs = 413 + goto _testEof + _testEof414: + m.cs = 414 + goto _testEof + _testEof415: + m.cs = 415 + goto _testEof + _testEof416: + m.cs = 416 + goto _testEof + _testEof417: + m.cs = 417 + goto _testEof + _testEof418: + m.cs = 418 + goto _testEof + _testEof419: + m.cs = 419 + goto _testEof + _testEof420: + m.cs = 420 + goto _testEof + _testEof421: + m.cs = 421 + goto _testEof + _testEof422: + m.cs = 422 + goto _testEof + _testEof423: + m.cs = 423 + goto _testEof + _testEof424: + m.cs = 424 + goto _testEof + _testEof425: + m.cs = 425 + goto _testEof + _testEof426: + m.cs = 426 + goto _testEof + _testEof427: + m.cs = 427 + goto _testEof + _testEof428: + m.cs = 428 + goto _testEof + _testEof429: + m.cs = 429 + goto _testEof + _testEof430: + m.cs = 430 + goto _testEof + _testEof431: + m.cs = 431 + goto _testEof + _testEof432: + m.cs = 432 + goto _testEof + _testEof433: + m.cs = 433 + goto _testEof + _testEof434: + m.cs = 434 + goto _testEof + _testEof435: + m.cs = 435 + goto _testEof + _testEof436: + m.cs = 436 + goto _testEof + _testEof437: + m.cs = 437 + goto _testEof + _testEof438: + m.cs = 438 + goto _testEof + _testEof439: + m.cs = 439 + goto _testEof + _testEof440: + m.cs = 440 + goto _testEof + _testEof441: + m.cs = 441 + goto _testEof + _testEof442: + m.cs = 442 + goto _testEof + _testEof443: + m.cs = 443 + goto _testEof + _testEof444: + m.cs = 444 + goto _testEof + _testEof445: + m.cs = 445 + goto _testEof + _testEof446: + m.cs = 446 + goto _testEof + _testEof447: + m.cs = 447 + goto _testEof + _testEof448: + m.cs = 448 + goto _testEof + _testEof449: + m.cs = 449 + goto _testEof + _testEof450: + m.cs = 450 + goto _testEof + _testEof451: + m.cs = 451 + goto _testEof + _testEof452: + m.cs = 452 + goto _testEof + _testEof453: + m.cs = 453 + goto _testEof + _testEof454: + m.cs = 454 + goto _testEof + _testEof455: + m.cs = 455 + goto _testEof + _testEof456: + m.cs = 456 + goto _testEof + _testEof457: + m.cs = 457 + goto _testEof + _testEof458: + m.cs = 458 + goto _testEof + _testEof459: + m.cs = 459 + goto _testEof + _testEof460: + m.cs = 460 + goto _testEof + _testEof461: + m.cs = 461 + goto _testEof + _testEof462: + m.cs = 462 + goto _testEof + _testEof463: + m.cs = 463 + goto _testEof + _testEof464: + m.cs = 464 + goto _testEof + _testEof465: + m.cs = 465 + goto _testEof + _testEof466: + m.cs = 466 + goto _testEof + _testEof467: + m.cs = 467 + goto _testEof + _testEof468: + m.cs = 468 + goto _testEof + _testEof469: + m.cs = 469 + goto _testEof + _testEof470: + m.cs = 470 + goto _testEof + _testEof471: + m.cs = 471 + goto _testEof + _testEof472: + m.cs = 472 + goto _testEof + _testEof473: + m.cs = 473 + goto _testEof + _testEof474: + m.cs = 474 + goto _testEof + _testEof475: + m.cs = 475 + goto _testEof + _testEof476: + m.cs = 476 + goto _testEof + _testEof477: + m.cs = 477 + goto _testEof + _testEof478: + m.cs = 478 + goto _testEof + _testEof479: + m.cs = 479 + goto _testEof + _testEof480: + m.cs = 480 + goto _testEof + _testEof481: + m.cs = 481 + goto _testEof + _testEof482: + m.cs = 482 + goto _testEof + _testEof483: + m.cs = 483 + goto _testEof + _testEof484: + m.cs = 484 + goto _testEof + _testEof485: + m.cs = 485 + goto _testEof + _testEof486: + m.cs = 486 + goto _testEof + _testEof487: + m.cs = 487 + goto _testEof + _testEof488: + m.cs = 488 + goto _testEof + _testEof489: + m.cs = 489 + goto _testEof + _testEof490: + m.cs = 490 + goto _testEof + _testEof491: + m.cs = 491 + goto _testEof + _testEof492: + m.cs = 492 + goto _testEof + _testEof493: + m.cs = 493 + goto _testEof + _testEof494: + m.cs = 494 + goto _testEof + _testEof495: + m.cs = 495 + goto _testEof + _testEof496: + m.cs = 496 + goto _testEof + _testEof497: + m.cs = 497 + goto _testEof + _testEof498: + m.cs = 498 + goto _testEof + _testEof499: + m.cs = 499 + goto _testEof + _testEof500: + m.cs = 500 + goto _testEof + _testEof501: + m.cs = 501 + goto _testEof + _testEof502: + m.cs = 502 + goto _testEof + _testEof503: + m.cs = 503 + goto _testEof + _testEof504: + m.cs = 504 + goto _testEof + _testEof505: + m.cs = 505 + goto _testEof + _testEof506: + m.cs = 506 + goto _testEof + _testEof507: + m.cs = 507 + goto _testEof + _testEof508: + m.cs = 508 + goto _testEof + _testEof509: + m.cs = 509 + goto _testEof + _testEof510: + m.cs = 510 + goto _testEof + _testEof511: + m.cs = 511 + goto _testEof + _testEof512: + m.cs = 512 + goto _testEof + _testEof513: + m.cs = 513 + goto _testEof + _testEof514: + m.cs = 514 + goto _testEof + _testEof515: + m.cs = 515 + goto _testEof + _testEof516: + m.cs = 516 + goto _testEof + _testEof517: + m.cs = 517 + goto _testEof + _testEof518: + m.cs = 518 + goto _testEof + _testEof519: + m.cs = 519 + goto _testEof + _testEof520: + m.cs = 520 + goto _testEof + _testEof521: + m.cs = 521 + goto _testEof + _testEof522: + m.cs = 522 + goto _testEof + _testEof523: + m.cs = 523 + goto _testEof + _testEof524: + m.cs = 524 + goto _testEof + _testEof525: + m.cs = 525 + goto _testEof + _testEof526: + m.cs = 526 + goto _testEof + _testEof527: + m.cs = 527 + goto _testEof + _testEof528: + m.cs = 528 + goto _testEof + _testEof529: + m.cs = 529 + goto _testEof + _testEof530: + m.cs = 530 + goto _testEof + _testEof531: + m.cs = 531 + goto _testEof + _testEof532: + m.cs = 532 + goto _testEof + _testEof533: + m.cs = 533 + goto _testEof + _testEof534: + m.cs = 534 + goto _testEof + _testEof535: + m.cs = 535 + goto _testEof + _testEof536: + m.cs = 536 + goto _testEof + _testEof537: + m.cs = 537 + goto _testEof + _testEof538: + m.cs = 538 + goto _testEof + _testEof539: + m.cs = 539 + goto _testEof + _testEof540: + m.cs = 540 + goto _testEof + _testEof541: + m.cs = 541 + goto _testEof + _testEof542: + m.cs = 542 + goto _testEof + _testEof543: + m.cs = 543 + goto _testEof + _testEof544: + m.cs = 544 + goto _testEof + _testEof545: + m.cs = 545 + goto _testEof + _testEof546: + m.cs = 546 + goto _testEof + _testEof547: + m.cs = 547 + goto _testEof + _testEof548: + m.cs = 548 + goto _testEof + _testEof549: + m.cs = 549 + goto _testEof + _testEof550: + m.cs = 550 + goto _testEof + _testEof551: + m.cs = 551 + goto _testEof + _testEof552: + m.cs = 552 + goto _testEof + _testEof553: + m.cs = 553 + goto _testEof + _testEof554: + m.cs = 554 + goto _testEof + _testEof555: + m.cs = 555 + goto _testEof + _testEof556: + m.cs = 556 + goto _testEof + _testEof557: + m.cs = 557 + goto _testEof + _testEof558: + m.cs = 558 + goto _testEof + _testEof559: + m.cs = 559 + goto _testEof + _testEof560: + m.cs = 560 + goto _testEof + _testEof561: + m.cs = 561 + goto _testEof + _testEof562: + m.cs = 562 + goto _testEof + _testEof563: + m.cs = 563 + goto _testEof + _testEof564: + m.cs = 564 + goto _testEof + _testEof565: + m.cs = 565 + goto _testEof + _testEof566: + m.cs = 566 + goto _testEof + _testEof567: + m.cs = 567 + goto _testEof + _testEof568: + m.cs = 568 + goto _testEof + _testEof569: + m.cs = 569 + goto _testEof + _testEof570: + m.cs = 570 + goto _testEof + _testEof571: + m.cs = 571 + goto _testEof + _testEof572: + m.cs = 572 + goto _testEof + _testEof573: + m.cs = 573 + goto _testEof + _testEof574: + m.cs = 574 + goto _testEof + _testEof575: + m.cs = 575 + goto _testEof + _testEof576: + m.cs = 576 + goto _testEof + _testEof577: + m.cs = 577 + goto _testEof + _testEof578: + m.cs = 578 + goto _testEof + _testEof579: + m.cs = 579 + goto _testEof + _testEof580: + m.cs = 580 + goto _testEof + _testEof581: + m.cs = 581 + goto _testEof + _testEof582: + m.cs = 582 + goto _testEof + _testEof583: + m.cs = 583 + goto _testEof + _testEof584: + m.cs = 584 + goto _testEof + _testEof585: + m.cs = 585 + goto _testEof + _testEof586: + m.cs = 586 + goto _testEof + _testEof587: + m.cs = 587 + goto _testEof + _testEof588: + m.cs = 588 + goto _testEof + _testEof589: + m.cs = 589 + goto _testEof + _testEof590: + m.cs = 590 + goto _testEof + _testEof591: + m.cs = 591 + goto _testEof + _testEof592: + m.cs = 592 + goto _testEof + _testEof593: + m.cs = 593 + goto _testEof + _testEof594: + m.cs = 594 + goto _testEof + _testEof595: + m.cs = 595 + goto _testEof + _testEof596: + m.cs = 596 + goto _testEof + _testEof597: + m.cs = 597 + goto _testEof + _testEof598: + m.cs = 598 + goto _testEof + _testEof599: + m.cs = 599 + goto _testEof + _testEof600: + m.cs = 600 + goto _testEof + _testEof601: + m.cs = 601 + goto _testEof + _testEof602: + m.cs = 602 + goto _testEof + _testEof607: + m.cs = 607 + goto _testEof + + _testEof: + { + } + if (m.p) == (m.eof) { + switch m.cs { + case 605: + + output.message = string(m.text()) + + case 1: + + m.err = fmt.Errorf(ErrPri+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 15, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132: + + m.err = fmt.Errorf(ErrMsgID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 16: + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 7: + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 5: + + output.version = uint16(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 585: + + if t, e := time.Parse(RFC3339MICRO, string(m.text())); e != nil { + m.err = fmt.Errorf("%s [col %d]", e, m.p) + (m.p)-- + + { + goto st607 + } + } else { + output.timestamp = t + output.timestampSet = true + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 4: + + m.err = fmt.Errorf(ErrVersion+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 6, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597: + + m.err = fmt.Errorf(ErrTimestamp+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 8, 9, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560: + + m.err = fmt.Errorf(ErrHostname+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 10, 11, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306: + + m.err = fmt.Errorf(ErrAppname+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 12, 13, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259: + + m.err = fmt.Errorf(ErrProcID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 14: + + m.err = fmt.Errorf(ErrMsgID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 24: + + delete(output.structuredData, m.currentelem) + if len(output.structuredData) == 0 { + output.hasElements = false + } + m.err = fmt.Errorf(ErrSdID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 62, 64, 65, 66, 67, 68, 69, 70: + + if len(output.structuredData) > 0 { + delete(output.structuredData[m.currentelem], m.currentparam) + } + m.err = fmt.Errorf(ErrSdParam+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 17, 18, 19, 20, 21, 22, 23: + + // If error encountered within the message rule ... + if m.msgat > 0 { + // Save the text until valid (m.p is where the parser has stopped) + output.message = string(m.data[m.msgat:m.p]) + } + + m.err = fmt.Errorf(ErrMsg+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 604: + + m.pb = m.p + + m.msgat = m.p + + output.message = string(m.text()) + + case 25, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101: + + if _, ok := output.structuredData[string(m.text())]; ok { + // As per RFC5424 section 6.3.2 SD-ID MUST NOT exist more than once in a message + m.err = fmt.Errorf(ErrSdIDDuplicated+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + } else { + id := string(m.text()) + output.structuredData[id] = map[string]string{} + output.hasElements = true + m.currentelem = id + } + + delete(output.structuredData, m.currentelem) + if len(output.structuredData) == 0 { + output.hasElements = false + } + m.err = fmt.Errorf(ErrSdID+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 2, 3, 600, 601, 602: + + m.err = fmt.Errorf(ErrPrival+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrPri+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 598, 599: + + m.err = fmt.Errorf(ErrVersion+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + output.version = uint16(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + + m.err = fmt.Errorf(ErrParse+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + case 60, 61, 63: + + m.err = fmt.Errorf(ErrEscape+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + if len(output.structuredData) > 0 { + delete(output.structuredData[m.currentelem], m.currentparam) + } + m.err = fmt.Errorf(ErrSdParam+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + m.err = fmt.Errorf(ErrStructuredData+ColumnPositionTemplate, m.p) + (m.p)-- + + { + goto st607 + } + + } + } + + _out: + { + } + } + + if m.cs < firstFinal || m.cs == enFail { + if m.bestEffort && output.valid() { + // An error occurred but partial parsing is on and partial message is minimally valid + return output.export(), m.err + } + return nil, m.err + } + + return output.export(), nil +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/rfc5424/machine.go.rl b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/machine.go.rl new file mode 100644 index 000000000000..68c95f352c2b --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/machine.go.rl @@ -0,0 +1,383 @@ +package rfc5424 + +import ( + "time" + "fmt" + + "github.com/influxdata/go-syslog/v2" + "github.com/influxdata/go-syslog/v2/common" +) + +// ColumnPositionTemplate is the template used to communicate the column where errors occur. +var ColumnPositionTemplate = " [col %d]" + +const ( + // ErrPrival represents an error in the priority value (PRIVAL) inside the PRI part of the RFC5424 syslog message. + ErrPrival = "expecting a priority value in the range 1-191 or equal to 0" + // ErrPri represents an error in the PRI part of the RFC5424 syslog message. + ErrPri = "expecting a priority value within angle brackets" + // ErrVersion represents an error in the VERSION part of the RFC5424 syslog message. + ErrVersion = "expecting a version value in the range 1-999" + // ErrTimestamp represents an error in the TIMESTAMP part of the RFC5424 syslog message. + ErrTimestamp = "expecting a RFC3339MICRO timestamp or a nil value" + // ErrHostname represents an error in the HOSTNAME part of the RFC5424 syslog message. + ErrHostname = "expecting an hostname (from 1 to max 255 US-ASCII characters) or a nil value" + // ErrAppname represents an error in the APP-NAME part of the RFC5424 syslog message. + ErrAppname = "expecting an app-name (from 1 to max 48 US-ASCII characters) or a nil value" + // ErrProcID represents an error in the PROCID part of the RFC5424 syslog message. + ErrProcID = "expecting a procid (from 1 to max 128 US-ASCII characters) or a nil value" + // ErrMsgID represents an error in the MSGID part of the RFC5424 syslog message. + ErrMsgID = "expecting a msgid (from 1 to max 32 US-ASCII characters) or a nil value" + // ErrStructuredData represents an error in the STRUCTURED DATA part of the RFC5424 syslog message. + ErrStructuredData = "expecting a structured data section containing one or more elements (`[id( key=\"value\")*]+`) or a nil value" + // ErrSdID represents an error regarding the ID of a STRUCTURED DATA element of the RFC5424 syslog message. + ErrSdID = "expecting a structured data element id (from 1 to max 32 US-ASCII characters; except `=`, ` `, `]`, and `\"`" + // ErrSdIDDuplicated represents an error occurring when two STRUCTURED DATA elementes have the same ID in a RFC5424 syslog message. + ErrSdIDDuplicated = "duplicate structured data element id" + // ErrSdParam represents an error regarding a STRUCTURED DATA PARAM of the RFC5424 syslog message. + ErrSdParam = "expecting a structured data parameter (`key=\"value\"`, both part from 1 to max 32 US-ASCII characters; key cannot contain `=`, ` `, `]`, and `\"`, while value cannot contain `]`, backslash, and `\"` unless escaped)" + // ErrMsg represents an error in the MESSAGE part of the RFC5424 syslog message. + ErrMsg = "expecting a free-form optional message in UTF-8 (starting with or without BOM)" + // ErrEscape represents the error for a RFC5424 syslog message occurring when a STRUCTURED DATA PARAM value contains '"', '\', or ']' not escaped. + ErrEscape = "expecting chars `]`, `\"`, and `\\` to be escaped within param value" + // ErrParse represents a general parsing error for a RFC5424 syslog message. + ErrParse = "parsing error" +) + +// RFC3339MICRO represents the timestamp format that RFC5424 mandates. +const RFC3339MICRO = "2006-01-02T15:04:05.999999Z07:00" + +%%{ +machine rfc5424; + +include common "common.rl"; + +# unsigned alphabet +alphtype uint8; + +action mark { + m.pb = m.p +} + +action markmsg { + m.msgat = m.p +} + +action set_prival { + output.priority = uint8(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) + output.prioritySet = true +} + +action set_version { + output.version = uint16(common.UnsafeUTF8DecimalCodePointsToInt(m.text())) +} + +action set_timestamp { + if t, e := time.Parse(RFC3339MICRO, string(m.text())); e != nil { + m.err = fmt.Errorf("%s [col %d]", e, m.p) + fhold; + fgoto fail; + } else { + output.timestamp = t + output.timestampSet = true + } +} + +action set_hostname { + output.hostname = string(m.text()) +} + +action set_appname { + output.appname = string(m.text()) +} + +action set_procid { + output.procID = string(m.text()) +} + +action set_msgid { + output.msgID = string(m.text()) +} + +action ini_elements { + output.structuredData = map[string]map[string]string{} +} + +action set_id { + if _, ok := output.structuredData[string(m.text())]; ok { + // As per RFC5424 section 6.3.2 SD-ID MUST NOT exist more than once in a message + m.err = fmt.Errorf(ErrSdIDDuplicated + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; + } else { + id := string(m.text()) + output.structuredData[id] = map[string]string{} + output.hasElements = true + m.currentelem = id + } +} + +action ini_sdparam { + m.backslashat = []int{} +} + +action add_slash { + m.backslashat = append(m.backslashat, m.p) +} + +action set_paramname { + m.currentparam = string(m.text()) +} + +action set_paramvalue { + if output.hasElements { + // (fixme) > what if SD-PARAM-NAME already exist for the current element (ie., current SD-ID)? + + // Store text + text := m.text() + + // Strip backslashes only when there are ... + if len(m.backslashat) > 0 { + text = common.RemoveBytes(text, m.backslashat, m.pb) + } + output.structuredData[m.currentelem][m.currentparam] = string(text) + } +} + +action set_msg { + output.message = string(m.text()) +} + +action err_prival { + m.err = fmt.Errorf(ErrPrival + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_pri { + m.err = fmt.Errorf(ErrPri + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_version { + m.err = fmt.Errorf(ErrVersion + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_timestamp { + m.err = fmt.Errorf(ErrTimestamp + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_hostname { + m.err = fmt.Errorf(ErrHostname + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_appname { + m.err = fmt.Errorf(ErrAppname + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_procid { + m.err = fmt.Errorf(ErrProcID + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_msgid { + m.err = fmt.Errorf(ErrMsgID + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_structureddata { + m.err = fmt.Errorf(ErrStructuredData + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_sdid { + delete(output.structuredData, m.currentelem) + if len(output.structuredData) == 0 { + output.hasElements = false + } + m.err = fmt.Errorf(ErrSdID + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_sdparam { + if len(output.structuredData) > 0 { + delete(output.structuredData[m.currentelem], m.currentparam) + } + m.err = fmt.Errorf(ErrSdParam + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_msg { + // If error encountered within the message rule ... + if m.msgat > 0 { + // Save the text until valid (m.p is where the parser has stopped) + output.message = string(m.data[m.msgat:m.p]) + } + + m.err = fmt.Errorf(ErrMsg + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_escape { + m.err = fmt.Errorf(ErrEscape + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +action err_parse { + m.err = fmt.Errorf(ErrParse + ColumnPositionTemplate, m.p) + fhold; + fgoto fail; +} + +nilvalue = '-'; + +nonzerodigit = '1'..'9'; + +# 1..191 +privalrange = (('1' ('9' ('0'..'1'){,1} | '0'..'8' ('0'..'9'){,1}){,1}) | ('2'..'9' ('0'..'9'){,1})); + +# 1..191 or 0 +prival = (privalrange | '0') >mark %from(set_prival) $err(err_prival); + +pri = ('<' prival '>') @err(err_pri); + +version = (nonzerodigit digit{0,2} mark %from(set_version) %eof(set_version) @err(err_version); + +timestamp = (nilvalue | (fulldate >mark 'T' fulltime %set_timestamp %err(set_timestamp))) @err(err_timestamp); + +hostname = hostnamerange >mark %set_hostname $err(err_hostname); + +appname = appnamerange >mark %set_appname $err(err_appname); + +procid = procidrange >mark %set_procid $err(err_procid); + +msgid = msgidrange >mark %set_msgid $err(err_msgid); + +header = (pri version sp timestamp sp hostname sp appname sp procid sp msgid) <>err(err_parse); + +# \", \], \\ +escapes = (bs >add_slash toescape) $err(err_escape); + +# As per section 6.3.3 param value MUST NOT contain '"', '\' and ']', unless they are escaped. +# A backslash '\' followed by none of the this three characters is an invalid escape sequence. +# In this case, treat it as a regular backslash and the following character as a regular character (not altering the invalid sequence). +paramvalue = (utf8charwodelims* escapes*)+ >mark %set_paramvalue; + +paramname = sdname >mark %set_paramname; + +sdparam = (paramname '=' dq paramvalue dq) >ini_sdparam $err(err_sdparam); + +# (note) > finegrained semantics of section 6.3.2 not represented here since not so useful for parsing goal +sdid = sdname >mark %set_id %err(set_id) $err(err_sdid); + +sdelement = ('[' sdid (sp sdparam)* ']'); + +structureddata = nilvalue | sdelement+ >ini_elements $err(err_structureddata); + +msg = (bom? utf8octets) >mark >markmsg %set_msg $err(err_msg); + +fail := (any - [\n\r])* @err{ fgoto main; }; + +main := header sp structureddata (sp msg)? $err(err_parse); + +}%% + +%% write data noerror noprefix; + +type machine struct { + data []byte + cs int + p, pe, eof int + pb int + err error + currentelem string + currentparam string + msgat int + backslashat []int + bestEffort bool +} + +// NewMachine creates a new FSM able to parse RFC5424 syslog messages. +func NewMachine(options ...syslog.MachineOption) syslog.Machine { + m := &machine{} + + for _, opt := range options { + opt(m) + } + + %% access m.; + %% variable p m.p; + %% variable pe m.pe; + %% variable eof m.eof; + %% variable data m.data; + + return m +} + +func (m *machine) WithBestEffort() { + m.bestEffort = true +} + +// HasBestEffort tells whether the receiving machine has best effort mode on or off. +func (m *machine) HasBestEffort() bool { + return m.bestEffort +} + +// Err returns the error that occurred on the last call to Parse. +// +// If the result is nil, then the line was parsed successfully. +func (m *machine) Err() error { + return m.err +} + +func (m *machine) text() []byte { + return m.data[m.pb:m.p] +} + +// Parse parses the input byte array as a RFC5424 syslog message. +// +// When a valid RFC5424 syslog message is given it outputs its structured representation. +// If the parsing detects an error it returns it with the position where the error occurred. +// +// It can also partially parse input messages returning a partially valid structured representation +// and the error that stopped the parsing. +func (m *machine) Parse(input []byte) (syslog.Message, error) { + m.data = input + m.p = 0 + m.pb = 0 + m.msgat = 0 + m.backslashat = []int{} + m.pe = len(input) + m.eof = len(input) + m.err = nil + output := &syslogMessage{} + + %% write init; + %% write exec; + + if m.cs < first_final || m.cs == en_fail { + if m.bestEffort && output.valid() { + // An error occurred but partial parsing is on and partial message is minimally valid + return output.export(), m.err + } + return nil, m.err + } + + return output.export(), nil +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/rfc5424/options.go b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/options.go new file mode 100644 index 000000000000..e83173d26e70 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/options.go @@ -0,0 +1,13 @@ +package rfc5424 + +import ( + syslog "github.com/influxdata/go-syslog/v2" +) + +// WithBestEffort enables the best effort mode. +func WithBestEffort() syslog.MachineOption { + return func(m syslog.Machine) syslog.Machine { + m.WithBestEffort() + return m + } +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/rfc5424/parser.go b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/parser.go new file mode 100644 index 000000000000..a4ef241aa691 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/parser.go @@ -0,0 +1,45 @@ +package rfc5424 + +import ( + "sync" + + syslog "github.com/influxdata/go-syslog/v2" +) + +// parser represent a RFC5424 parser with mutex capabilities. +type parser struct { + sync.Mutex + *machine +} + +// NewParser creates a syslog.Machine that parses RFC5424 syslog messages. +func NewParser(options ...syslog.MachineOption) syslog.Machine { + p := &parser{ + machine: NewMachine(options...).(*machine), + } + + return p +} + +// HasBestEffort tells whether the receiving parser has best effort mode on or off. +func (p *parser) HasBestEffort() bool { + return p.bestEffort +} + +// Parse parses the input RFC5424 syslog message using its FSM. +// +// Best effort mode enables the partial parsing. +func (p *parser) Parse(input []byte) (syslog.Message, error) { + p.Lock() + defer p.Unlock() + + msg, err := p.machine.Parse(input) + if err != nil { + if p.bestEffort { + return msg, err + } + return nil, err + } + + return msg, nil +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/rfc5424/syslog_message.go b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/syslog_message.go new file mode 100644 index 000000000000..b6e1b64e1711 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/rfc5424/syslog_message.go @@ -0,0 +1,291 @@ +package rfc5424 + +import ( + "time" +) + +type syslogMessage struct { + prioritySet bool // We explictly flag the setting of priority since its zero value is a valid priority by RFC 5424 + timestampSet bool // We explictly flag the setting of timestamp since its zero value is a valid timestamp by RFC 5424 + hasElements bool + priority uint8 + version uint16 + timestamp time.Time + hostname string + appname string + procID string + msgID string + structuredData map[string]map[string]string + message string +} + +func (sm *syslogMessage) valid() bool { + if sm.prioritySet && sm.version > 0 && sm.version <= 999 { + return true + } + + return false +} + +func (sm *syslogMessage) export() *SyslogMessage { + out := &SyslogMessage{} + if sm.prioritySet { + out.setPriority(sm.priority) + } + if sm.version > 0 && sm.version <= 999 { + out.version = sm.version + } + if sm.timestampSet { + out.timestamp = &sm.timestamp + } + if sm.hostname != "-" && sm.hostname != "" { + out.hostname = &sm.hostname + } + if sm.appname != "-" && sm.appname != "" { + out.appname = &sm.appname + } + if sm.procID != "-" && sm.procID != "" { + out.procID = &sm.procID + } + if sm.msgID != "-" && sm.msgID != "" { + out.msgID = &sm.msgID + } + if sm.hasElements { + out.structuredData = &sm.structuredData + } + if sm.message != "" { + out.message = &sm.message + } + + return out +} + +// SyslogMessage represents a syslog message. +type SyslogMessage struct { + priority *uint8 + facility *uint8 + severity *uint8 + version uint16 // Grammar mandates that version cannot be 0, so we can use the 0 value of uint16 to signal nil + timestamp *time.Time + hostname *string + appname *string + procID *string + msgID *string + structuredData *map[string]map[string]string + message *string +} + +// Valid tells whether the receiving SyslogMessage is well-formed or not. +// +// A minimally well-formed syslog message contains at least a priority ([1, 191] or 0) and the version (]0, 999]). +func (sm *SyslogMessage) Valid() bool { + // A nil priority or a 0 version means that the message is not valid + // Not checking the priority range since it's parser responsibility + if sm.priority != nil && *sm.priority >= 0 && *sm.priority <= 191 && sm.version > 0 && sm.version <= 999 { + return true + } + + return false +} + +// Priority returns the syslog priority or nil when not set +func (sm *SyslogMessage) Priority() *uint8 { + return sm.priority +} + +// Version returns the syslog version or nil when not set +func (sm *SyslogMessage) Version() uint16 { + return sm.version +} +func (sm *SyslogMessage) setPriority(value uint8) { + sm.priority = &value + facility := uint8(value / 8) + severity := uint8(value % 8) + sm.facility = &facility + sm.severity = &severity +} + +// Facility returns the facility code. +func (sm *SyslogMessage) Facility() *uint8 { + return sm.facility +} + +// Severity returns the severity code. +func (sm *SyslogMessage) Severity() *uint8 { + return sm.severity +} + +// FacilityMessage returns the text message for the current facility value. +func (sm *SyslogMessage) FacilityMessage() *string { + if sm.facility != nil { + msg := facilities[*sm.facility] + return &msg + } + + return nil +} + +// FacilityLevel returns the +func (sm *SyslogMessage) FacilityLevel() *string { + if sm.facility != nil { + if msg, ok := facilityKeywords[*sm.facility]; ok { + return &msg + } + + // Fallback to facility message + msg := facilities[*sm.facility] + return &msg + } + + return nil +} + +// SeverityMessage returns the text message for the current severity value. +func (sm *SyslogMessage) SeverityMessage() *string { + if sm.severity != nil { + msg := severityMessages[*sm.severity] + return &msg + } + + return nil +} + +// SeverityLevel returns the text level for the current severity value. +func (sm *SyslogMessage) SeverityLevel() *string { + if sm.severity != nil { + msg := severityLevels[*sm.severity] + return &msg + } + + return nil +} + +// SeverityShortLevel returns the short text level for the current severity value. +func (sm *SyslogMessage) SeverityShortLevel() *string { + if sm.severity != nil { + msg := severityLevelsShort[*sm.severity] + return &msg + } + + return nil +} + +var severityMessages = map[uint8]string{ + 0: "system is unusable", + 1: "action must be taken immediately", + 2: "critical conditions", + 3: "error conditions", + 4: "warning conditions", + 5: "normal but significant condition", + 6: "informational messages", + 7: "debug-level messages", +} + +var severityLevels = map[uint8]string{ + 0: "emergency", + 1: "alert", + 2: "critical", + 3: "error", + 4: "warning", + 5: "notice", + 6: "informational", + 7: "debug", +} + +// As per https://github.com/torvalds/linux/blob/master/tools/include/linux/kern_levels.h and syslog(3) +var severityLevelsShort = map[uint8]string{ + 0: "emerg", + 1: "alert", + 2: "crit", + 3: "err", + 4: "warning", + 5: "notice", + 6: "info", + 7: "debug", +} + +var facilities = map[uint8]string{ + 0: "kernel messages", + 1: "user-level messages", + 2: "mail system", + 3: "system daemons", + 4: "security/authorization messages", + 5: "messages generated internally by syslogd", + 6: "line printer subsystem", + 7: "network news subsystem", + 8: "UUCP subsystem", + 9: "clock daemon", + 10: "security/authorization messages", + 11: "FTP daemon", + 12: "NTP subsystem", + 13: "log audit", + 14: "log alert", + 15: "clock daemon (note 2)", // (todo) > some sources reporting "scheduling daemon" + 16: "local use 0 (local0)", + 17: "local use 1 (local1)", + 18: "local use 2 (local2)", + 19: "local use 3 (local3)", + 20: "local use 4 (local4)", + 21: "local use 5 (local5)", + 22: "local use 6 (local6)", + 23: "local use 7 (local7)", +} + +// As per syslog(3) +var facilityKeywords = map[uint8]string{ + 0: "kern", + 1: "user", + 2: "mail", + 3: "daemon", + 4: "auth", + 5: "syslog", + 6: "lpr", + 7: "news", + 8: "uucp", + 10: "authpriv", + 11: "ftp", + 15: "cron", + 16: "local0", + 17: "local1", + 18: "local2", + 19: "local3", + 20: "local4", + 21: "local5", + 22: "local6", + 23: "local7", +} + +// Timestamp returns the syslog timestamp or nil when not set +func (sm *SyslogMessage) Timestamp() *time.Time { + return sm.timestamp +} + +// Hostname returns the syslog hostname or nil when not set +func (sm *SyslogMessage) Hostname() *string { + return sm.hostname +} + +// ProcID returns the syslog proc ID or nil when not set +func (sm *SyslogMessage) ProcID() *string { + return sm.procID +} + +// Appname returns the syslog appname or nil when not set +func (sm *SyslogMessage) Appname() *string { + return sm.appname +} + +// MsgID returns the syslog msg ID or nil when not set +func (sm *SyslogMessage) MsgID() *string { + return sm.msgID +} + +// Message returns the syslog message or nil when not set +func (sm *SyslogMessage) Message() *string { + return sm.message +} + +// StructuredData returns the syslog structured data or nil when not set +func (sm *SyslogMessage) StructuredData() *map[string]map[string]string { + return sm.structuredData +} diff --git a/vendor/github.com/influxdata/go-syslog/v2/syslog.go b/vendor/github.com/influxdata/go-syslog/v2/syslog.go new file mode 100644 index 000000000000..5062050e7bd0 --- /dev/null +++ b/vendor/github.com/influxdata/go-syslog/v2/syslog.go @@ -0,0 +1,63 @@ +// Package syslog provides generic interfaces and structs for syslog messages and transport. +// Subpackages contains various parsers or scanners for different syslog formats. +package syslog + +import ( + "io" + "time" +) + +// BestEfforter is an interface that wraps the HasBestEffort method. +type BestEfforter interface { + WithBestEffort() + HasBestEffort() bool +} + +// Machine represent a FSM able to parse an entire syslog message and return it in an structured way. +type Machine interface { + Parse(input []byte) (Message, error) + BestEfforter +} + +// MachineOption represents the type of option setters for Machine instances. +type MachineOption func(m Machine) Machine + +// Parser is an interface that wraps the Parse method. +type Parser interface { + Parse(r io.Reader) + WithListener(ParserListener) + BestEfforter +} + +// ParserOption represent the type of option setters for Parser instances. +type ParserOption func(p Parser) Parser + +// ParserListener is a function that receives syslog parsing results, one by one. +type ParserListener func(*Result) + +// Result wraps the outcomes obtained parsing a syslog message. +type Result struct { + Message Message + Error error +} + +// Message represent a structured representation of a syslog message. +type Message interface { + Valid() bool + Priority() *uint8 + Version() uint16 + Facility() *uint8 + Severity() *uint8 + FacilityMessage() *string + FacilityLevel() *string + SeverityMessage() *string + SeverityLevel() *string + SeverityShortLevel() *string + Timestamp() *time.Time + Hostname() *string + ProcID() *string + Appname() *string + MsgID() *string + Message() *string + StructuredData() *map[string]map[string]string +} diff --git a/vendor/github.com/leodido/ragel-machinery/LICENSE b/vendor/github.com/leodido/ragel-machinery/LICENSE new file mode 100644 index 000000000000..8c3504a5a9bf --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Leonardo Di Donato + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/github.com/leodido/ragel-machinery/README.md b/vendor/github.com/leodido/ragel-machinery/README.md new file mode 100644 index 000000000000..18b7d739477f --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/README.md @@ -0,0 +1,9 @@ +# ragel machinery + +Machineries to speed up and facilitate the development of ragel parsers able to accept streaming inputs. + +It is only intended for use with ragel parsers. + +--- + +[![Analytics](https://ga-beacon.appspot.com/UA-49657176-1/ragel-machinery?flat)](https://github.com/igrigorik/ga-beacon) \ No newline at end of file diff --git a/vendor/github.com/leodido/ragel-machinery/errors.go b/vendor/github.com/leodido/ragel-machinery/errors.go new file mode 100644 index 000000000000..16961131a5c2 --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/errors.go @@ -0,0 +1,22 @@ +package ragel + +// ReadingError represents errors occurred in the readers. +type ReadingError struct { + message string +} + +// NewReadingError creates a ReadingError with the given message. +func NewReadingError(message string) *ReadingError { + return &ReadingError{ + message: message, + } +} + +func (e *ReadingError) Error() string { + return e.message +} + +var ( + // ErrNotFound is the message representing a situation in which the needle we were looking for has not been found. + ErrNotFound = "needle not found" +) diff --git a/vendor/github.com/leodido/ragel-machinery/go.mod b/vendor/github.com/leodido/ragel-machinery/go.mod new file mode 100644 index 000000000000..360a899be506 --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/go.mod @@ -0,0 +1,3 @@ +module github.com/leodido/ragel-machinery + +require github.com/google/go-cmp v0.2.0 diff --git a/vendor/github.com/leodido/ragel-machinery/go.sum b/vendor/github.com/leodido/ragel-machinery/go.sum new file mode 100644 index 000000000000..abc3d78fea9c --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/go.sum @@ -0,0 +1 @@ +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= diff --git a/vendor/github.com/leodido/ragel-machinery/parser/arbitrary_reader.go b/vendor/github.com/leodido/ragel-machinery/parser/arbitrary_reader.go new file mode 100644 index 000000000000..61673e6135be --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/parser/arbitrary_reader.go @@ -0,0 +1,122 @@ +package parser + +import ( + "bufio" + ragel "github.com/leodido/ragel-machinery" + "io" +) + +// ArbitraryReader returns a Reader that reads from r +// but stops when it finds a delimiter. +// The underlying implementation is a *DelimitedReader. +func ArbitraryReader(r io.Reader, delim byte) *DelimitedReader { + return &DelimitedReader{ + delim: delim, + reader: bufio.NewReader(r), + parsingState: &parsingState{ + data: []byte{}, + p: 0, + pe: 0, + eof: -1, + }, + } +} + +// DelimitedReader reads arbitrarily sized bytes slices until a delimiter is found. +// It depends on and it keeps track of Ragel's state variables. +type DelimitedReader struct { + *parsingState + + delim byte + reader *bufio.Reader +} + +// State returns a pointer to the current State. +func (r DelimitedReader) State() *State { + return (*State)(r.parsingState) +} + +// Read reads a chunk of bytes until it finds a delimiter. +// +// It always works on the current boundaries of the data, +// and updates them accordingly. +// It returns the chunk of bytes read and, eventually, an error. +// When delim is not found it returns an io.ErrUnexpectedEOF. +func (r *DelimitedReader) Read() (line []byte, err error) { + p := r.p + + // Process only the data still to read when P is greater than the half of the data + // data = a b c d e f g h i l m n + // vars = - - - - - - - p - pe- - + if p > len(r.data)/2 { + copy(r.data, r.data[p:len(r.data)]) + r.p = 0 + r.pe = r.pe - p + // data = h i l m n f g h i l m n + // vars = p - pe- - - - - - - - - + r.data = r.data[0 : len(r.data)-p] + // data = h i l m n + // vars = p - pe- - + } + + // Read until the first occurrence of the delimiter + line, err = r.reader.ReadBytes(r.delim) + + // Storing the data up to and including the delimiter + r.data = append(r.data, line...) + // Update the position of end + r.pe = len(r.data) + if err == io.EOF { + if len(line) != 0 { + err = io.ErrUnexpectedEOF + } + // Update the position of EOF + r.eof = r.pe + } + if err != nil { + err = ragel.NewReadingError(err.Error()) + } + + return line, err +} + +// Seek look for the first instance of until. +// +// It always works on the current boundaries of the data. +// When it finds what it looks for it returns the number of bytes sought before to find it. +// Otherwise will also return an error. +// Search is only backwards at the moment, +// from the right boundary (end) to the left one (start position). +// It returns the number of bytes read to find the first occurrence of the until byte. +// It sets the right boundary (end) of the data to the character after the until byte, +// so the user can eventually start again from here. +func (r *DelimitedReader) Seek(until byte, backwards bool) (n int, err error) { + data := r.data + if len(data) == 0 { + return 0, ragel.NewReadingError(ragel.ErrNotFound) + } + if backwards { + // Data boundaries + p := r.p + i := r.pe - 1 + + // Until there are no more bytes or they are different from the the sought one + for ; i >= p && data[i] != until; i-- { + } + + // Store the number of sought bytes + n := r.pe - i + + // Did we find anything? + if i == p-1 && data[p] != until { + return r.pe - i, ragel.NewReadingError(ragel.ErrNotFound) + } + + // Update the right boundary to be the character next to the sought one + r.pe = i + 1 + + return n, nil + } + + panic("not implemented") +} diff --git a/vendor/github.com/leodido/ragel-machinery/parser/fsm.go b/vendor/github.com/leodido/ragel-machinery/parser/fsm.go new file mode 100644 index 000000000000..33c335f31af6 --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/parser/fsm.go @@ -0,0 +1,13 @@ +package parser + +// Machiner is an interface that wraps the Exec method. +type Machiner interface { + // Exec contains the ragel finite-state machine code and returns boundaries. + Exec(state *State) (p int, pe int) + // OnErr is a method called when an error is encountered. + OnErr(chunk []byte, err error) + // OnEOF is a method called when an EOF is encountered. + OnEOF(chunk []byte) + // OnCompletion is a method called when the parser loop completes. + OnCompletion() +} diff --git a/vendor/github.com/leodido/ragel-machinery/parser/parser.go b/vendor/github.com/leodido/ragel-machinery/parser/parser.go new file mode 100644 index 000000000000..211c8e9dfe64 --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/parser/parser.go @@ -0,0 +1,84 @@ +package parser + +import ( + "github.com/leodido/ragel-machinery" + "io" +) + +// Parser creates ragel parsers for stream inputs. +// +// Its scope is to let the user concentrate on the definition of the ragel machines. +// To do so it allows the user to specify (and delegates to) +// how to read the input chunks and how to parse them. +type Parser parser + +type parser struct { + reader Reader // Reader to which to delegate the reading logic + machine Machiner // FSM to which to delegate the parsing logic + + *parsingState +} + +// Option represents an option for parser brokers. +type Option func(*parser) + +// WithStart serves to specify the ragel start state. +func WithStart(cs int) Option { + return func(p *parser) { + p.cs = cs + } +} + +// WithError serves to specify the ragel error state. +func WithError(err int) Option { + return func(p *parser) { + p.errorState = err + } +} + +// WithFirstFinal serves to specify the ragel first final state. +func WithFirstFinal(f int) Option { + return func(p *parser) { + p.finalState = f + } +} + +// New cretes a new Parser. +func New(r Reader, m Machiner, opts ...Option) *Parser { + p := &parser{ + reader: r, + machine: m, + } + + // Tell the broker to use the reader status for parsing + p.parsingState = (*parsingState)(r.State()) + + // Apply options + for _, opt := range opts { + opt(p) + } + + return (*Parser)(p) +} + +// Parse is the standard parsing method for stream inputs. +// +// It calls the Read method of the Reader, which defines how and what to read +// and then it calls on such data window the finite-state machine to parse its content. +// It stops whenever and EOF or an error happens. +func (p *Parser) Parse() { + for { + res, err := p.reader.Read() + if err != nil { + if err == io.EOF { + p.machine.OnEOF(res) + } else { + p.machine.OnErr(res, ragel.NewReadingError(err.Error())) + } + break + } + // Execute the FSM + p.machine.Exec((*State)(p.parsingState)) + } + p.machine.OnCompletion() +} diff --git a/vendor/github.com/leodido/ragel-machinery/parser/reader.go b/vendor/github.com/leodido/ragel-machinery/parser/reader.go new file mode 100644 index 000000000000..0239ed86c09d --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/parser/reader.go @@ -0,0 +1,14 @@ +package parser + +// Reader is the interface that wraps the Read method. +// Its implementations are intended to be used with Ragel parsers or scanners. +type Reader interface { + Read() (res []byte, err error) + State() *State +} + +// Seeker is the interface that wraps the Seek method. +// Its implementations are intended to be used with Ragel parsers or scanners. +type Seeker interface { + Seek(until byte, backward bool) (n int, err error) +} diff --git a/vendor/github.com/leodido/ragel-machinery/parser/state.go b/vendor/github.com/leodido/ragel-machinery/parser/state.go new file mode 100644 index 000000000000..9a5dc017d8cd --- /dev/null +++ b/vendor/github.com/leodido/ragel-machinery/parser/state.go @@ -0,0 +1,23 @@ +package parser + +// State represents the ragel state variables for parsing. +type State parsingState + +type parsingState struct { + cs int // _start at time 0, then eventually current state + errorState int // _error > fixme(leodido) + finalState int // _first_final > fixme(leodido) + + p, pe, eof int // parsing pointers + data []byte // data pointer +} + +// Set sets the state variables of a ragel parser. +func (s *State) Set(cs, p, pe, eof int) { + s.cs, s.p, s.pe, s.eof = cs, p, pe, eof +} + +// Get retrieves the state variables of a ragel parser. +func (s *State) Get() (cs, p, pe, eof int, data []byte) { + return s.cs, s.p, s.pe, s.eof, s.data +} diff --git a/vendor/modules.txt b/vendor/modules.txt index ab6caec47433..30f1902a8266 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -326,6 +326,12 @@ github.com/hpcloud/tail/ratelimiter github.com/hpcloud/tail/util github.com/hpcloud/tail/watch github.com/hpcloud/tail/winfile +# github.com/influxdata/go-syslog/v2 v2.0.1 +github.com/influxdata/go-syslog/v2 +github.com/influxdata/go-syslog/v2/common +github.com/influxdata/go-syslog/v2/nontransparent +github.com/influxdata/go-syslog/v2/octetcounting +github.com/influxdata/go-syslog/v2/rfc5424 # github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af github.com/jmespath/go-jmespath # github.com/jonboulle/clockwork v0.1.0 @@ -343,6 +349,9 @@ github.com/klauspost/cpuid github.com/konsorten/go-windows-terminal-sequences # github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 github.com/kr/logfmt +# github.com/leodido/ragel-machinery v0.0.0-20181214104525-299bdde78165 +github.com/leodido/ragel-machinery +github.com/leodido/ragel-machinery/parser # github.com/mattn/go-colorable v0.0.9 github.com/mattn/go-colorable # github.com/mattn/go-isatty v0.0.4