Skip to content

Support of == #17

@pengyu

Description

@pengyu

The following code does not work. Can it be fixed?

$ cat a.awk
function f(x) {
	return x == "a"
}
{ print $0, f($0) }
$ awka -f  a.awk  > a.c
$ gcc -lawka a.c
Undefined symbols for architecture x86_64:
  "_awka_strncpy", referenced from:
      _main in a-860d69.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions