NeilZar
b181fa6013
Fix # command in sqf_validator.py ( #6768 )
...
**When merged this pull request will:**
- Fix the sqf validator to correctly detect the use of # as select or preprocessor command.
2019-01-05 03:10:40 +01:00
Thomas Kooi
e1774a848c
Revert "Support # command in SQF Validator (quick, will miss missing semi-colons on actual # command) ( #6338 )" ( #6689 )
...
This reverts commit 7ee08fa4c9
.
2018-11-18 17:10:28 +01:00
jonpas
7ee08fa4c9
Support # command in SQF Validator (quick, will miss missing semi-colons on actual # command) ( #6338 )
2018-11-18 16:46:10 +01:00
PabstMirror
afbf2049ea
Skip semi-colon test with findIf ( #6584 )
...
* Skip semi-colon test with findIf
* Fix #6186
* column cleanser
2018-09-20 14:34:59 -05:00
commy2
7673ffab0a
sqf_validator compatibility with findIf command
2018-09-19 01:23:48 +02:00
Dedmen Miller
e2ac18a05d
[WIP] Fix script errors reporting wrong line numbers ( #6407 )
...
* advanced_ballistics
* advanced_fatigue
* advanced_throwing
* ai
* aircraft
* arsenal
* atragmx
* attach
* backpacks
* ballistics
* captives
* cargo
* chemlights
* common
* concertina_wire
* cookoff
* dagr
* disarming
* disposable
* dogtags
* dragging
* explosives
* fastroping
* fcs
* finger
* frag
* gestures
* gforces
* goggles
* grenades
* gunbag
* hearing
* hitreactions
* huntir
* interact_menu
* interaction
* inventory
* kestrel4500
* laser
* laserpointer
* logistics_uavbattery
* logistics_wirecutter
* magazinerepack
* map
* map_gestures
* maptools
* markers
* medical
* medical_ai
* medical_blood
* medical_menu
* microdagr
* minedetector
* missileguidance
* missionmodules
* mk6mortar
* modules
* movement
* nametags
* nightvision
* nlaw
* optics
* optionsmenu
* overheating
* overpressure
* parachute
* pylons
* quickmount
* rangecard
* rearm
* recoil
* refuel
* reload
* reloadlaunchers
* repair
* respawn
* safemode
* sandbag
* scopes
* slideshow
* spectator
* spottingscope
* switchunits
* tacticalladder
* tagging
* trenches
* tripod
* ui
* vector
* vehiclelock
* vehicles
* viewdistance
* weaponselect
* weather
* winddeflection
* yardage450
* zeus
* arsenal defines.hpp
* optionals
* DEBUG_MODE_FULL 1
* DEBUG_MODE_FULL 2
* Manual fixes
* Add SQF Validator check for #include after block comment
* explosives fnc_openTimerUI
* fix uniqueItems
2018-09-17 14:19:29 -05:00
Glowbal
391191241b
Add apply to script validation
2016-05-21 13:46:26 +02:00
Glowbal
54caadfb88
Add support for new script command select in travis
2016-05-21 13:26:04 +02:00
Glowbal
0c55d0ca06
Change start line number count sqf validation at 1
2016-05-03 15:15:55 +02:00
Glowbal
e828076377
Add error on tab in sqf files to sqf validator
2015-12-21 17:06:04 +01:00
Glowbal
3e4906fa7e
Revert the backslash in sqf validator
...
- Use a forward slash in path for travis to work properly
2015-10-12 21:29:50 +02:00
jonpas
d926a4a52a
Add shebang line to specify python version to SQF validator and replace slash with backslash
2015-10-11 23:20:56 +02:00
Glowbal
b524c28d53
Improved output text
...
- Capitalized SQF everywhere
- Break checked files and errors into multiple lines
- Add a break by line between reported errors and result
- Fix incorrect report message for semi-columns
- Change excessive usage of # prints on start
2015-10-11 18:31:39 +02:00
Glowbal
d6ab43d77e
Possible fix for travis build failure
2015-10-11 17:35:55 +02:00
Glowbal
afb28d01ea
Improve sqf validator
...
- fix not all string cases were caught
- add basic semi column validation after code blocks
- Improve print output
- Fix a dot in file path when reporting an error
2015-10-11 17:25:53 +02:00
PabstMirror
dc9ba7aa4c
Validate sqf - python 3 compat
2015-10-04 03:48:37 -05:00
Glowbal
93e5429ed5
Add sqf validator script to travis configuration
2015-09-22 20:18:12 +02:00
Glowbal
b695a54655
Add a first implementation of the sqf validator/parser/linter.
...
Checks all sqf files within given module or entire project for missing [] {} or ()
Prints out information regarding anything it marks as a possible error
2015-09-21 18:01:45 +02:00