1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 10:33:53 +03:00

wasm: use underscores for symbol values

This commit is contained in:
@0xb17bea125 2022-08-19 14:50:56 +09:00
parent 63f4a7267c
commit 0ad5a8ec2f
No known key found for this signature in database
GPG Key ID: 1A292BFDF101D448

View File

@ -5,19 +5,19 @@ import (
)
var sectionIDToSym = scalar.UToSymStr{
sectionIDCustom: "custom section",
sectionIDType: "type section",
sectionIDImport: "import section",
sectionIDFunction: "function section",
sectionIDTable: "table section",
sectionIDMemory: "memory section",
sectionIDGlobal: "global section",
sectionIDExport: "export section",
sectionIDStart: "start section",
sectionIDElement: "element section",
sectionIDCode: "code section",
sectionIDData: "data section",
sectionIDDataCount: "data count section",
sectionIDCustom: "custom_section",
sectionIDType: "type_section",
sectionIDImport: "import_section",
sectionIDFunction: "function_section",
sectionIDTable: "table_section",
sectionIDMemory: "memory_section",
sectionIDGlobal: "global_section",
sectionIDExport: "export_section",
sectionIDStart: "start_section",
sectionIDElement: "element_section",
sectionIDCode: "code_section",
sectionIDData: "data_section",
sectionIDDataCount: "data_count_section",
}
// valtype ::= t:numtype => t