mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
Allow table base.u8 as a type
This commit is contained in:
1 parent
2301c763c3
commit
eda326726a
10 files changed
+60
-27
No files matched your search
@@ -405,6 +405,10 @@ func (p *parser) parseTypeExpr() (*a.TypeExpr, error) {
|
||||
case t.IDSlice:
|
||||
decorator = t.IDSlice
|
||||
p.src = p.src[1:]
|
||||
|
||||
case t.IDTable:
|
||||
decorator = t.IDTable
|
||||
p.src = p.src[1:]
|
||||
}
|
||||
|
||||
if decorator != 0 {
|
||||
|
||||
Reference in new issue
Block a user