Skip to content

ziglang/zig-spec

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Update the yyerror function to read from the input file, if the buffer
does not contain a complete line.

Add a caret (^) indicating where in the code the error was found.

Make the code printing the error context from the buffer more robust,
assuming that a LF ('\n') character may be present.

Remove extra HT ('\t') characters.

The implementation was adapted from
https://github.com/gpakosz/peg/blob/upstream/src/peg.c#L51, but using
Zig coding style and improving the readability of the C code.
f7fb3d0

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 14, 2018 09:17
November 14, 2018 08:58
November 14, 2018 08:58

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages