Comments (7)
I am closing this issue because it is a duplicate of #2427.
I have now fixed this error by running dos2unix.
I think we should somehow enforce unix format for people who use Windows.
from z88dk.
The file .gitattributes
lists all file extensions and the corresponding type (binary, text eol=lf, text eol=crlf); maybe we just need to add missing extensions.
from z88dk.
@pauloscustodio how is .gitattributes
in Z88DK going to fix the macro bug in a different project?
The problem seems to be that the current macro preprocessor is broken in some cases with Windows text files. So probably due to different new lines conventions. So how is the git config going to fix the preprocessor?
from z88dk.
@pauloscustodio how is .gitattributes in Z88DK going to fix the macro bug in a different project?
It will not. What I meant is that .gitattributes ensures that no z88dk file has the wrong line feed inside the z88dk tree.
from z88dk.
@pauloscustodio what about the macro preprocessor? Couldn't the preprocessor pre-apply dos2unix before evaluating the source files and so fix these bugs?
from z88dk.
I think the problem was solved by @suborb, by ignoring CR characters.
from z88dk.
Yes, it was here: 709d99a
from z88dk.
Related Issues (20)
- MacOS - zsdcc binary is r14210 HOT 3
- appmake +zx colliding with binaries of previous builds HOT 3
- TMS9918 graphics improvements HOT 6
- [question][ti] What is the meaning of "Warning: Use of numbers in the variable name is not certain to work on all calculators!" ? HOT 2
- (sccz80) Support static __far data
- [zx81][feature] WRX96 and/or WRX128 with centered display? HOT 1
- sccz80 - lhs constant comparison HOT 6
- 8085 - l_eq l_ne operator optimisation HOT 5
- (classic) KC and ZX81 (384 rows) graphics not fully ix independent HOT 8
- Unexpected z80asm macro formal parameter behavior? HOT 4
- 8085 - am9511 - comparative l_f32_ge HOT 6
- 4 bit audio player for the PSG
- Missing makefile.msd in msx examples HOT 1
- New MSX config for plain "bin" file. HOT 1
- How is ADD DE, buffer assembled? HOT 3
- macOS - zcc being flagged for virus HOT 5
- 8085 - _z88dk_callee return improvement HOT 3
- (z80asm) Implement local labels HOT 17
- CP/M File I/O Drops a Character Every 128 Bytes HOT 2
- (z80asm) Disabling synthetic opcodes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from z88dk.