Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 90234d84 authored by David Duarte's avatar David Duarte
Browse files

pdl: Remove '"' prefix and suffix from string

Strings are quotted in '"' in pdl, currently
we keep thoses in the ast.

So

```
custom_field Address : 48 "hci/"
```

ends up in the ast as

```
{
      "kind": "custom_field_declaration",
      "id": "Address",
      "width": 48,
      "function": "\"hci/\""
}
```

To simplify the generator code, remove the quotes to
instead emit

```
{
      "kind": "custom_field_declaration",
      "id": "Address",
      "width": 48,
      "function": "hci/"
}
```

Test: manual
Change-Id: I06fefc06b7f4f740f12dfd68567460015e7b5862
parent 5922eec9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment