1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 21:55:57 +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{ var sectionIDToSym = scalar.UToSymStr{
sectionIDCustom: "custom section", sectionIDCustom: "custom_section",
sectionIDType: "type section", sectionIDType: "type_section",
sectionIDImport: "import section", sectionIDImport: "import_section",
sectionIDFunction: "function section", sectionIDFunction: "function_section",
sectionIDTable: "table section", sectionIDTable: "table_section",
sectionIDMemory: "memory section", sectionIDMemory: "memory_section",
sectionIDGlobal: "global section", sectionIDGlobal: "global_section",
sectionIDExport: "export section", sectionIDExport: "export_section",
sectionIDStart: "start section", sectionIDStart: "start_section",
sectionIDElement: "element section", sectionIDElement: "element_section",
sectionIDCode: "code section", sectionIDCode: "code_section",
sectionIDData: "data section", sectionIDData: "data_section",
sectionIDDataCount: "data count section", sectionIDDataCount: "data_count_section",
} }
// valtype ::= t:numtype => t // valtype ::= t:numtype => t