Skip to content

use table instead of local to avoid lua VM 200 variables limit.#30

Open
michaelpengcn wants to merge 1 commit into
sean-lin:masterfrom
michaelpengcn:master
Open

use table instead of local to avoid lua VM 200 variables limit.#30
michaelpengcn wants to merge 1 commit into
sean-lin:masterfrom
michaelpengcn:master

Conversation

@michaelpengcn
Copy link
Copy Markdown

No description provided.

@treert
Copy link
Copy Markdown

treert commented Sep 21, 2017

有bug,需要在生成.message_type = 的地方加上前缀。

has bug, need change.
add type_name = _prefix + type_name before

        if field_desc.type == FDP.TYPE_MESSAGE:
            context('.message_type = %s\n' % type_name)
        else:
            context('.enum_type = %s\n' % type_name)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants