Konstantin8105 / c4go

Transpiling C code to Go code
MIT License
364 stars 37 forks source link

AST #470

Closed Konstantin8105 closed 5 years ago

Konstantin8105 commented 5 years ago
/* AST Error :
Cannot parse line: `MemberExpr 0x1f54888 <col:44, col:49> 'enum linestyle_type [19]' lvalue .lineStyle 0x1eb6830 non_odr_use_unevaluated`. could not match regexp with string
^(?P<address>[0-9a-fx]+) <(?P<position>.*)> '(?P<type>.*?)'(?P<type2>:'.*?')?(?P<lvalue> lvalue)?(?P<bitfield> bitfield)? (?P<pointer>[->.]+)(?P<name>\w+)? (?P<address2>[0-9a-fx]+)[\s]*$
0x1f54888 <col:44, col:49> 'enum linestyle_type [19]' lvalue .lineStyle 0x1eb6830 non_odr_use_unevaluated

*/
AST error #1:
/* AST Error :
Cannot parse line: `DeclRefExpr 0x1f54868 <col:44> 'struct plotframe_type':'struct plotframe_type' lvalue Var 0x1ec6a60 'plot' 'struct plotframe_type':'struct plotframe_type' non_odr_use_unevaluated`. could not match regexp with string
^(?P<address>[0-9a-fx]+) <(?P<position>.*)> '(?P<type>.*?)'(:'(?P<type1>.*?)')?.*?(?P<lvalue> lvalue)? (?P<for>\w+) (?P<address2>[0-9a-fx]+) '(?P<name>.*?)' '(?P<type2>.*?)'(:'(?P<type3>.*?)')?[\s]*$
0x1f54868 <col:44> 'struct plotframe_type':'struct plotframe_type' lvalue Var 0x1ec6a60 'plot' 'struct plotframe_type':'struct plotframe_type' non_odr_use_unevaluated

*/
AST error #2:
/* AST Error :
Cannot parse line: `MemberExpr 0x1f54ae0 <col:41, col:46> 'long [19]' lvalue .marker 0x1eb6ef8 non_odr_use_unevaluated`. could not match regexp with string
^(?P<address>[0-9a-fx]+) <(?P<position>.*)> '(?P<type>.*?)'(?P<type2>:'.*?')?(?P<lvalue> lvalue)?(?P<bitfield> bitfield)? (?P<pointer>[->.]+)(?P<name>\w+)? (?P<address2>[0-9a-fx]+)[\s]*$
0x1f54ae0 <col:41, col:46> 'long [19]' lvalue .marker 0x1eb6ef8 non_odr_use_unevaluated

*/
AST error #3:
/* AST Error :
Cannot parse line: `DeclRefExpr 0x1f54ac0 <col:41> 'struct plotframe_type':'struct plotframe_type' lvalue Var 0x1ec6a60 'plot' 'struct plotframe_type':'struct plotframe_type' non_odr_use_unevaluated`. could not match regexp with string
^(?P<address>[0-9a-fx]+) <(?P<position>.*)> '(?P<type>.*?)'(:'(?P<type1>.*?)')?.*?(?P<lvalue> lvalue)? (?P<for>\w+) (?P<address2>[0-9a-fx]+) '(?P<name>.*?)' '(?P<type2>.*?)'(:'(?P<type3>.*?)')?[\s]*$
0x1f54ac0 <col:41> 'struct plotframe_type':'struct plotframe_type' lvalue Var 0x1ec6a60 'plot' 'struct plotframe_type':'struct plotframe_type' non_odr_use_unevaluated

*/
AST error #4:
/* AST Error :
Cannot parse line: `WarnUnusedResultAttr 0x1def418 <col:53> warn_unused_result ""`. could not match regexp with string
^(?P<address>[0-9a-fx]+) <(?P<position>.*)>(?P<inherited> Inherited)?( warn_unused_result)?[\s]*$
0x1def418 <col:53> warn_unused_result ""

*/