Comments (6)
Does it really not care about an orphan tag? */
Granted, most of my UnrealScript experience is from 2006, but I thought the compiler was very temperamental about expected and unexpected tokens. To me, it looks like a syntax error.
from unrealscript-language-service.
While I agree that it shouldn't be legal, it works and it's from Src/Core/Classes/Object.uc
from unrealscript-language-service.
Yikes. Never noticed that. Which version of Unreal / Unreal Tournament / Unreal Engine is that in? And if this were to be rated as a warning instead of a syntax error, would it help developers? It could be a pain to check if the syntax highlighter should care about orphan tokens like this every time */ is found. I'll see if I can find this issue in UT2004 UScript.
from unrealscript-language-service.
XCOM2: WOTC. So UE3 + some Firaxis additions (but this isn't marked/commented as one of them)
from unrealscript-language-service.
UE2 throws this error: "Error, Unexpected '*/' outside of comment" I think the best choice is to leave this as a valid error (maybe a warning?).
from unrealscript-language-service.
So, I also got Error, Unexpected '*/' outside of comment
when I tried to repro it. However, upon further digging, it appears that UCC supports "nested comments" (or something???) since the following perfectly compiles:
/*
/**
* asdfg
*/
*/
from unrealscript-language-service.
Related Issues (20)
- [Bug 0.6.3]: Expression does not evaluate to an iteratable HOT 2
- [Bug 0.6.3]: Delegates in `defaultproperties` / `sub objects` are not processed properly HOT 1
- [Bug 0.6]: Type checking error when passing an Enum object to a function as argument
- [Bug 0.6]: Enum tag reference in a condition expression produces an error when type checking is enabled
- [Bug 0.6]: Type not found when assigning to a sub object if using an object literal
- [Bug 0.6.3]: [Error - 9:40:23 PM] Request textDocument/documentSymbol failed. HOT 1
- [Bug]: Objects and Subobjects show errors in defaultproperties HOT 2
- [Bug]: Server crashing during glob HOT 6
- [Feature Request]: Publish to Open VSX HOT 2
- [Feature Request]: struct modifier HOT 2
- [Feature Request]: Show `const` hints for strings HOT 2
- [Bug]: Can't find .uc files in the same folder HOT 3
- [Bug]: Extension Can't find a function from another .uc file HOT 4
- [Bug]: Casting to a class may mismatch a package (or class) of the same name HOT 1
- [Bug]: Missing highlighting in v0.6.5+ HOT 2
- [Bug]: Declaring static array size from variable fails in some cases HOT 1
- [Bug]: [v0.7.1] highlight source code as comment by mistake. HOT 1
- [Bug]: Error: cannot consume EOF HOT 1
- [Bug]: [v0.7.1] highlight source code as comment by mistake HOT 5
- [Bug]: "mismatched input 'if' expecting 'until'"
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 unrealscript-language-service.