Giter Site home page Giter Site logo

flasm's People

Contributors

matthiasbock avatar

Watchers

 avatar  avatar

Forkers

yoya

flasm's Issues

$$ for the midrule at $3 of 'trycatchfinally' has no declared type

branch Igor (flasm 1.7)

$ make
bison --defines --debug assembler.y
assembler.y:608.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ = writeByte(SWFACTION_TRY);
                                                     ^^
assembler.y:610.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeShort(strlen($2)+8);
                                                     ^^
assembler.y:612.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeByte(0);
                                                     ^^
assembler.y:614.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:616.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:618.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:620.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeString($2);
                                                     ^^
assembler.y:623.53-54: error: $$ for the midrule at $5 of 'trycatchfinally' has no declared type
         statements_opt                          {   $$ = $3 + $4; patchLength($$ - 6,  $4);    }
                                                     ^^
assembler.y:623.84-85: error: $$ for the midrule at $5 of 'trycatchfinally' has no declared type
         statements_opt                          {   $$ = $3 + $4; patchLength($$ - 6,  $4);    }
                                                                                    ^^
assembler.y:624.53-54: error: $$ for the midrule at $7 of 'trycatchfinally' has no declared type
         catch_opt                               {   $$ = $5 + $6; patchLength($$ - 8,  $6);    }
                                                     ^^
assembler.y:624.84-85: error: $$ for the midrule at $7 of 'trycatchfinally' has no declared type
         catch_opt                               {   $$ = $5 + $6; patchLength($$ - 8,  $6);    }
                                                                                    ^^
assembler.y:625.53-54: error: $$ for the midrule at $9 of 'trycatchfinally' has no declared type
         finally_opt                             {   $$ = $7 + $8; patchLength($$ - 10, $8);    }
                                                     ^^
assembler.y:625.84-85: error: $$ for the midrule at $9 of 'trycatchfinally' has no declared type
         finally_opt                             {   $$ = $7 + $8; patchLength($$ - 10, $8);    }
                                                                                    ^^
assembler.y:637.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ = writeByte(SWFACTION_TRY);
                                                     ^^
assembler.y:639.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeShort(8);
                                                     ^^
assembler.y:641.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeByte(0);
                                                     ^^
assembler.y:643.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:645.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:647.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:649.53-54: error: $$ for the midrule at $3 of 'trycatchfinally' has no declared type
                                                     $$ += writeByte((byte) $2);
                                                     ^^
assembler.y:652.53-54: error: $$ for the midrule at $5 of 'trycatchfinally' has no declared type
         statements_opt                          {   $$ = $3 + $4; patchLength($$ - 6,  $4);    }
                                                     ^^
assembler.y:652.84-85: error: $$ for the midrule at $5 of 'trycatchfinally' has no declared type
         statements_opt                          {   $$ = $3 + $4; patchLength($$ - 6,  $4);    }
                                                                                    ^^
assembler.y:653.53-54: error: $$ for the midrule at $7 of 'trycatchfinally' has no declared type
         catch_opt                               {   $$ = $5 + $6; patchLength($$ - 8,  $6);    }
                                                     ^^
assembler.y:653.84-85: error: $$ for the midrule at $7 of 'trycatchfinally' has no declared type
         catch_opt                               {   $$ = $5 + $6; patchLength($$ - 8,  $6);    }
                                                                                    ^^
assembler.y:654.53-54: error: $$ for the midrule at $9 of 'trycatchfinally' has no declared type
         finally_opt                             {   $$ = $7 + $8; patchLength($$ - 10, $8);    }
                                                     ^^
assembler.y:654.84-85: error: $$ for the midrule at $9 of 'trycatchfinally' has no declared type
         finally_opt                             {   $$ = $7 + $8; patchLength($$ - 10, $8);    }
                                                                                    ^^
assembler.y:710.53-54: error: $$ for the midrule at $3 of 'function' has no declared type
                                                     $$ = writeByte(SWFACTION_DEFINEFUNCTION);
                                                     ^^
assembler.y:712.53-54: error: $$ for the midrule at $3 of 'function' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:713.53-54: error: $$ for the midrule at $3 of 'function' has no declared type
                                                     $$ += writeString($2);
                                                     ^^
assembler.y:720.53-54: error: $$ for the midrule at $7 of 'function' has no declared type
                                                     $$ = $3 + writeShort(numArgs);
                                                     ^^
assembler.y:723.57-58: error: $$ for the midrule at $7 of 'function' has no declared type
                                                         $$ += writeString(func_args[i]);
                                                         ^^
assembler.y:726.53-54: error: $$ for the midrule at $7 of 'function' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:728.65-66: error: $$ for the midrule at $7 of 'function' has no declared type
                                                     patchLength($$-3, $$-3);
                                                                 ^^
assembler.y:728.71-72: error: $$ for the midrule at $7 of 'function' has no declared type
                                                     patchLength($$-3, $$-3);
                                                                       ^^
assembler.y:840.53-54: error: $$ for the midrule at $3 of 'function2' has no declared type
                                                     $$ = writeByte(SWFACTION_DEFINEFUNCTION2);
                                                     ^^
assembler.y:842.53-54: error: $$ for the midrule at $3 of 'function2' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:844.53-54: error: $$ for the midrule at $3 of 'function2' has no declared type
                                                     $$ += writeString($2);
                                                     ^^
assembler.y:849.53-54: error: $$ for the midrule at $3 of 'function2' has no declared type
                                                     $$ += writeShort(numArgs);
                                                     ^^
assembler.y:852.53-54: error: $$ for the midrule at $3 of 'function2' has no declared type
                                                     $$ += writeByte(numRegisters[curFunc]);
                                                     ^^
assembler.y:854.53-54: error: $$ for the midrule at $3 of 'function2' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:858.53-54: error: $$ for the midrule at $7 of 'function2' has no declared type
                                                     $$ = $3 + $5;
                                                     ^^
assembler.y:869.53-54: error: $$ for the midrule at $11 of 'function2' has no declared type
                                                     $$ = $7;
                                                     ^^
assembler.y:871.53-54: error: $$ for the midrule at $11 of 'function2' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:886.65-66: error: $$ for the midrule at $11 of 'function2' has no declared type
                                                     patchLength($$ - $3, autoregFlags);
                                                                 ^^
assembler.y:888.65-66: error: $$ for the midrule at $11 of 'function2' has no declared type
                                                     patchLength($$ - 3, $$ - 3);
                                                                 ^^
assembler.y:888.73-74: error: $$ for the midrule at $11 of 'function2' has no declared type
                                                     patchLength($$ - 3, $$ - 3);
                                                                         ^^
assembler.y:908.53-54: error: $$ for the midrule at $2 of 'with' has no declared type
                                                     $$ = writeByte(SWFACTION_WITH);
                                                     ^^
assembler.y:910.53-54: error: $$ for the midrule at $2 of 'with' has no declared type
                                                     $$ += writeShort(2);
                                                     ^^
assembler.y:912.53-54: error: $$ for the midrule at $2 of 'with' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:924.53-54: error: $$ for the midrule at $3 of 'settarget' has no declared type
                                                     $$ = writeByte(SWFACTION_SETTARGET);
                                                     ^^
assembler.y:925.53-54: error: $$ for the midrule at $3 of 'settarget' has no declared type
                                                     $$ += writeShort(strlen($2)+1);
                                                     ^^
assembler.y:926.53-54: error: $$ for the midrule at $3 of 'settarget' has no declared type
                                                     $$ += writeString($2);
                                                     ^^
assembler.y:937.53-54: error: $$ for the midrule at $2 of 'settargetexpression' has no declared type
         : SETTARGETEXPR                         {   $$ = writeByte(SWFACTION_SETTARGETEXPRESSION);  }
                                                     ^^
assembler.y:949.53-54: error: $$ for the midrule at $2 of 'ifframeloadedexpression' has no declared type
                                                     $$ = writeByte(SWFACTION_IFFRAMELOADEDEXPRESSION);
                                                     ^^
assembler.y:950.53-54: error: $$ for the midrule at $2 of 'ifframeloadedexpression' has no declared type
                                                     $$ += writeShort(1);
                                                     ^^
assembler.y:951.53-54: error: $$ for the midrule at $2 of 'ifframeloadedexpression' has no declared type
                                                     $$ += writeByte(0);
                                                     ^^
assembler.y:966.53-54: error: $$ for the midrule at $3 of 'ifframeloaded' has no declared type
                                                     $$ = writeByte(SWFACTION_IFFRAMELOADED);
                                                     ^^
assembler.y:967.53-54: error: $$ for the midrule at $3 of 'ifframeloaded' has no declared type
                                                     $$ += writeShort(3);
                                                     ^^
assembler.y:968.53-54: error: $$ for the midrule at $3 of 'ifframeloaded' has no declared type
                                                     $$ += writeShort($2);
                                                     ^^
assembler.y:969.53-54: error: $$ for the midrule at $3 of 'ifframeloaded' has no declared type
                                                     $$ += writeByte(0);
                                                     ^^
assembler.y:1202.53-54: error: $$ for the midrule at $2 of 'opcode' has no declared type
                                                     $$ = writeByte(SWFACTION_PUSHDATA);
                                                     ^^
assembler.y:1204.53-54: error: $$ for the midrule at $2 of 'opcode' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
assembler.y:1215.53-54: error: $$ for the midrule at $3 of 'opcode' has no declared type
                                                     $$ = writeByte((char)xtoi($2));
                                                     ^^
assembler.y:1218.53-54: error: $$ for the midrule at $3 of 'opcode' has no declared type
                                                     $$ += writeShort(0);
                                                     ^^
Makefile:32: recipe for target 'assembler.tab.h' failed
make: *** [assembler.tab.h] Error 1

multiple definition of `in_word_set'

make all 
gcc -g -Wall -O2 -s -o flasm util.o keywords.o flasm.o unflasm.o lex.yy.o assembler.tab.o keywords.c -lz
/tmp/ccxBuerF.o: In function `in_word_set':
/home/code/flasm/keywords.gperf:83: multiple definition of `in_word_set'
Makefile:29: recipe for target 'flasm' failed
keywords.o:/home/code/flasm/keywords.gperf:83: first defined here
collect2: error: ld returned 1 exit status
make: *** [flasm] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.