Displaying 1 result from an estimated 1 matches for "yyend".
Did you mean:
yend
2008 Jan 12
1
[LLVMdev] Labels
...ead of C.
So far the experience has been trivial, but I am now running into an error
regarding labels that I can't seem to solve.
Situation 1: A label is used immediately after a void function call (l6 in
this case):
<snip>
%tmp26 = load i32* @yybegin, align 4
%tmp27 = load i32* @yyend, align 4
call void @yyDo(void (i8*, i32)* @yy_7_body, i32 %tmp26, i32 %tmp27)
l6:
br label %l2
<snip>
I get the following error:
llvm-as: test.ll:578,0: test.ll:578: error: syntax error, unexpected LABELSTR,
expecting LOAD or STORE while reading token: 'l6:'
Why is this label un...