Skip to content

Text being unintentionally interpreted as a Janet statement #290

@engenforge

Description

@engenforge

I tried to build the most recent commit a334121 but it would end unsuccessfully with the following error message:

...
Parsing content content/docs/functions.mdz as mendoza markup
Parsing content content/docs/index.mdz as mendoza markup
error: unknown symbol you
  in eval [boot.janet] on line 2708, column 5
  in do-contents [/home/shared/20-code/25-contrib/janet-lang.org/build/mendoza/markup.janet] on line 165, column 26
  in markup [/home/shared/20-code/25-contrib/janet-lang.org/build/mendoza/markup.janet] on line 172, column 3
  in with-dyns [/home/shared/20-code/25-contrib/janet-lang.org/build/mendoza/markup.janet] on line 183, column 51
  in <anonymous> [/home/shared/20-code/25-contrib/janet-lang.org/build/mendoza/markup.janet] on line 182, column 41
  in require-1 [boot.janet] (tail call) on line 3092, column 18
  in read-pages [/home/shared/20-code/25-contrib/janet-lang.org/build/mendoza/init.janet] on line 127, column 25
  in read-pages [/home/shared/20-code/25-contrib/janet-lang.org/build/mendoza/init.janet] on line 124, column 20
  in read-pages [/home/shared/20-code/25-contrib/janet-lang.org/build/mendoza/init.janet] on line 124, column 20
  in build [/home/shared/20-code/25-contrib/janet-lang.org/build/mendoza/init.janet] (tail call) on line 131, column 3
make: *** [Makefile:41: build] Error 1

It appears that the most recent text addition is being interpreted unintentionally as a Janet statement.

I created pull request #289 which fixes it on my system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions