Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible fix for several syntax-related crashes as well as for use syntax mylang not functioning correctly. #373

Closed
wants to merge 5 commits into from

Commits on Feb 17, 2015

  1. Update dao_macro.c

    Possible fix for several syntax-related crashes as well as for `use syntax mylang` not functioning correctly.
    
    Crashes were caused by infinite recursion in DaoParser_ErrorX2 and DaoParser_ErrorX3. Use statement breakage was due to not seeking ahead far enough in the token list after parsing the use statement. This may not be the correct fix for that; there may be a need to actually do some parsing to figure out how many tokens forward to seek. But this worked in my tests.
    Jaedyn Draper committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    d638e64 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2015

  1. dao_macro.c - $STR, $CAT, bugfixes

    - Added $STR() to stringify a macro value (i.e., $STR($ID1))
    - Added $CAT() to concatenate macro values (i.e., $CAT($ID1 '_Helper'))
    - Fixed a bug where a value failing to be found in a ZERO_OR_ONE group nested in another ZERO_OR_ONE group would cause the higher-level group to also report a non-match
    - Fixed a bug where a plain identifier in the last section of a group could cause a failed match in some circumstances (i.e., { [ $ID1 '=' '4' ';' ] 'io' '.' 'writeln' '(' '{' "hello world" '}' ')' ';' } would fail to match correctly.
    Jaedyn Draper committed Feb 21, 2015
    Configuration menu
    Copy the full SHA
    90a13b5 View commit details
    Browse the repository at this point in the history
  2. Header update to correspond with source update

    Put them in different commits because I'm just copying and pasting the files into github directly, because I haven't set up a local git workspace yet on my box.
    Jaedyn Draper committed Feb 21, 2015
    Configuration menu
    Copy the full SHA
    1240241 View commit details
    Browse the repository at this point in the history
  3. -Allowed loading files with extensions other than ".dao" using the sy…

    …ntax:
    
       load "modulename.ext"
    ShadauxCat committed Feb 21, 2015
    Configuration menu
    Copy the full SHA
    65a7660 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2015

  1. Merge pull request #1 from daokoder/master

    Add: new vm instruction DVM_UNTAG for untagging a value of type "X|none"...
    Jaedyn Draper committed Apr 4, 2015
    Configuration menu
    Copy the full SHA
    eb1668c View commit details
    Browse the repository at this point in the history