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

Fix typos #655

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ We assume below that all the Ada dependencies are installed under the
``GPR_PROJECT_PATH``, for example).

* The dynamic linker has access to shared libraries (``$PREFIX/lib`` is in
``LD_LIBRARY_PATH``, for exmaple).
``LD_LIBRARY_PATH``, for example).

First, clone the `adasat` repository in the `langkit` subdirectory of the
`langkit` repository:
Expand Down
2 changes: 1 addition & 1 deletion doc/lexical_envs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ Env specs must use another mechanism to create such cross-unit links: named
environments. When creating an environment, one can pass a list of names
(symbols) to ``add_env`` to associate this new environment to each name. It is
then possible to refer to this environment from the PLE of other units thanks
so these names:
to these names:

* If the ``AddToEnvDestEnv`` struct passed to ``add_to_env``/``add_to_env_kv``
contains an env name, that name is used to fetch the corresponding named
Expand Down
4 changes: 2 additions & 2 deletions doc/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ right you have what should be done with it:
Only exact input strings trigger ``Literal`` matchers while the input is
matched against a regular expression with ``Pattern`` matchers. Note that the
order of rules is meaningful: here, the input is matched first against keywords
and then only if there is no match, identifers and number patterns are matched.
and then only if there is no match, identifiers and number patterns are matched.
If ``Literal`` rules appeared at the end, ``def`` would always be emitted
as an identifier.

Expand Down Expand Up @@ -436,7 +436,7 @@ colon.

extern_decl=ExternDecl('extern', G.prototype),

This one is interesting: inside the parens, we matches the ``extern`` keyword
This one is interesting: inside the parens, we match the ``extern`` keyword
followed by what the ``prototype`` rule matches. Then, thanks to the
``ExternDecl`` call, we take the content we matched and create an
``ExternDecl`` AST node to hold the result.
Expand Down