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

Implement lexcompare #6

Open
ppenzin opened this issue Jan 27, 2019 · 0 comments
Open

Implement lexcompare #6

ppenzin opened this issue Jan 27, 2019 · 0 comments

Comments

@ppenzin
Copy link
Contributor

ppenzin commented Jan 27, 2019

Fort emits calls to lexcompare, but that always returns 0:

template<typename T>
static int32_t lexcompare(const CharacterValue<T> LHS,
                          const CharacterValue<T> RHS) {
  return 0;//FIXME
}

lexcompare is produced when two strings are compared usind .lt., .gt., and so on. In Fortran that requires padding shorter string with spaces before comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant